minor fix [skip ci]

This commit is contained in:
OmarHatem
2025-09-24 09:31:32 +03:00
parent cb39b8ef40
commit 8b7c67fc74
@@ -359,7 +359,11 @@ class _WalletNameFormState extends State<WalletNameForm> {
alertTitle: '',
alertContent: S.of(context).wallet_name_exists,
buttonText: S.of(context).ok,
buttonAction: () => Navigator.of(context).pop());
buttonAction: () {
if (Navigator.of(context).canPop()) {
Navigator.of(context).pop();
}
});
});
} else {
await _walletNewVM.create(