From b7156c3f5d4299cdef41647236f7ea13d6d1eb69 Mon Sep 17 00:00:00 2001 From: OmarHatem Date: Sat, 4 Oct 2025 04:53:30 +0300 Subject: [PATCH] minor fix [skip ci] --- lib/src/screens/wallet_unlock/wallet_unlock_page.dart | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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, ), ))