diff --git a/lib/src/screens/wallet_unlock/wallet_unlock_page.dart b/lib/src/screens/wallet_unlock/wallet_unlock_page.dart index d0c6d0844..958bdfcc3 100644 --- a/lib/src/screens/wallet_unlock/wallet_unlock_page.dart +++ b/lib/src/screens/wallet_unlock/wallet_unlock_page.dart @@ -136,7 +136,11 @@ class WalletUnlockPageState extends AuthPageState { height: 37, width: 37, child: InkWell( - onTap: () => Navigator.of(context).pop(), + onTap: () { + if (context.mounted && Navigator.of(context).canPop()) { + Navigator.of(context).pop(); + } + }, child: _backArrowImageDarkTheme, ), ))