minor fix [skip ci]
OmarHatem committed
Oct 4, 2025 at 04:53 UTC
b7156c3f5d4299cdef41647236f7ea13d6d1eb69
1 file changed
+5
-1
lib/src/screens/wallet_unlock/wallet_unlock_page.dart
+5
-1
@@ -136,7 +136,11 @@ class WalletUnlockPageState extends AuthPageState<WalletUnlockPage> {
136
height: 37,
137
width: 37,
138
child: InkWell(
139
- onTap: () => Navigator.of(context).pop(),
139
+ onTap: () {
140
+ if (context.mounted && Navigator.of(context).canPop()) {
141
+ Navigator.of(context).pop();
142
+ }
143
+ },
144
child: _backArrowImageDarkTheme,
145
),
146
))