mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
minor fix [skip ci]
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user