fix: switch "seed" to "recovery phrase" in more places and handle edgecases for seed verification reminders

This commit is contained in:
Blazebrain
2026-09-09 08:58:09 +01:00
parent 239bbc4900
commit 6bb52fd746
39 changed files with 448 additions and 445 deletions
@@ -1148,7 +1148,7 @@ abstract class DashboardViewModelBase with Store {
@action
Future<void> dismissSeedBackupReminder() async {
showSeedBackupReminder = false;
await wallet.walletInfo.updateShowSeedBackupReminder(false);
await wallet.walletInfo.clearSeedBackupReminder();
}
@action
+1
View File
@@ -164,6 +164,7 @@ abstract class WalletNewVMBase extends WalletCreationVM with Store {
@override
Future<WalletBase> process(WalletCredentials credentials) async {
walletCreationService.changeWalletType(type: type);
credentials.walletInfo!.showSeedBackupReminder = newWalletArguments!.mnemonic == null;
return walletCreationService.create(credentials, isTestnet: useTestnet);
}
}
+1 -1
View File
@@ -153,6 +153,6 @@ abstract class WalletSeedViewModelBase with Store {
return;
}
await _walletInfo.updateShowSeedBackupReminder(false);
await _walletInfo.clearSeedBackupReminder();
}
}