mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-01 12:04:21 +01:00
CW-695: Fix Zone Mismatch Error Triggered By Restoring Backup (#1651)
* Fix: Zone mismatch error triggered by restoring backup * fix: Adjust check for reinitializing
This commit is contained in:
@@ -46,7 +46,7 @@ abstract class RestoreFromBackupViewModelBase with Store {
|
||||
final data = await file.readAsBytes();
|
||||
|
||||
await backupService.importBackup(data, password);
|
||||
await main();
|
||||
await initializeAppAtRoot(reInitializing: true);
|
||||
|
||||
final store = getIt.get<AppStore>();
|
||||
ReactionDisposer? reaction;
|
||||
|
||||
Reference in New Issue
Block a user