mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-22 02:34:59 +00:00
pop only PIN screen after successful auth
This commit is contained in:
parent
a210a1e325
commit
143a6eecf5
1 changed files with 3 additions and 3 deletions
|
@ -104,9 +104,9 @@ class DesktopSidebarWrapper extends BasePage {
|
|||
Navigator.of(context).pushNamed(
|
||||
Routes.unlock,
|
||||
arguments: (bool isAuthenticatedSuccessfully, AuthPageState auth) {
|
||||
auth.close(
|
||||
route: isAuthenticatedSuccessfully ? Routes.dashboard : null,
|
||||
);
|
||||
if (isAuthenticatedSuccessfully) {
|
||||
auth.close();
|
||||
}
|
||||
},
|
||||
);
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue