Skip to content

Commit

Permalink
Add cases for switch account in app widget (#1889)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaulUrtecho authored Jun 13, 2022
1 parent 004f4f6 commit d6dbb19
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/seeds_app.dart
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ class SeedsApp extends StatelessWidget {
break;
case AuthStatus.emptyPasscode:
case AuthStatus.locked:
if (navigator.currentRouteName() == null) {
if (navigator.currentRouteName() == null ||
navigator.currentRouteName() == Routes.importKey ||
navigator.currentRouteName() == Routes.importWords) {
navigator.pushAndRemoveAll(Routes.app);
}
navigator.navigateTo(Routes.verification);
Expand Down

0 comments on commit d6dbb19

Please sign in to comment.