mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-06-28 20:39:51 +00:00
fix(generic-fixes): Fixes to a couple of raised issues.
This change: - Tentatively fixes the issue with the wallet groups bug, where some wallets are wrongly grouped.
This commit is contained in:
parent
a8f3dd7710
commit
5f20923251
2 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,5 @@
|
|||
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';
|
||||
|
@ -17,5 +18,6 @@ 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,8 +61,6 @@ 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