mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
fix: Wallet grouping
This commit is contained in:
parent
5f20923251
commit
c94e003669
2 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,4 @@
|
|||
import 'package:cake_wallet/di.dart';
|
||||
import 'package:cake_wallet/entities/wallet_manager.dart';
|
||||
import 'package:shared_preferences/shared_preferences.dart';
|
||||
import 'package:cake_wallet/store/app_store.dart';
|
||||
import 'package:cake_wallet/entities/preferences_key.dart';
|
||||
|
@ -18,6 +17,5 @@ Future<void> loadCurrentWallet({String? password}) async {
|
|||
final type = deserializeFromInt(typeRaw);
|
||||
final walletLoadingService = getIt.get<WalletLoadingService>();
|
||||
final wallet = await walletLoadingService.load(type, name, password: password);
|
||||
await getIt.get<WalletManager>().ensureGroupHasHashedIdentifier(wallet);
|
||||
await appStore.changeCurrentWallet(wallet);
|
||||
}
|
||||
|
|
|
@ -61,6 +61,8 @@ void startCurrentWalletChangeReaction(
|
|||
return;
|
||||
}
|
||||
|
||||
await getIt.get<WalletManager>().ensureGroupHasHashedIdentifier(wallet);
|
||||
|
||||
final node = settingsStore.getCurrentNode(wallet.type);
|
||||
|
||||
startWalletSyncStatusChangeReaction(wallet, fiatConversionStore);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue