fix: Fix walletconnect connecting only with the first wallet (#1247)

This commit is contained in:
Adegoke David 2023-12-28 02:37:36 +01:00 committed by GitHub
parent c8856f5ca1
commit 92914a8532
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 40 additions and 66 deletions

View file

@ -22,7 +22,7 @@ Future<void> loadCurrentWallet() async {
final type = deserializeFromInt(typeRaw);
final walletLoadingService = getIt.get<WalletLoadingService>();
final wallet = await walletLoadingService.load(type, name);
appStore.changeCurrentWallet(wallet);
await appStore.changeCurrentWallet(wallet);
getIt.get<BackgroundTasks>().registerSyncTask();
}