From f2a654e1e523f42e97b35695347f3bc829da7fe7 Mon Sep 17 00:00:00 2001 From: julian Date: Thu, 14 Nov 2024 15:31:43 -0600 Subject: [PATCH] disable syncing of newly created view only wallet without entering the wallet first --- .../verify_recovery_phrase_view.dart | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/pages/add_wallet_views/verify_recovery_phrase_view/verify_recovery_phrase_view.dart b/lib/pages/add_wallet_views/verify_recovery_phrase_view/verify_recovery_phrase_view.dart index f0e5cab74..e95e33539 100644 --- a/lib/pages/add_wallet_views/verify_recovery_phrase_view/verify_recovery_phrase_view.dart +++ b/lib/pages/add_wallet_views/verify_recovery_phrase_view/verify_recovery_phrase_view.dart @@ -188,6 +188,8 @@ class _VerifyRecoveryPhraseViewState final address = info.$1; final privateViewKey = info.$2; + await w.exit(); + viewOnlyData = CryptonoteViewOnlyWalletData( walletId: voInfo.walletId, address: address, @@ -236,6 +238,8 @@ class _VerifyRecoveryPhraseViewState ref.read(pWallets).addWallet(voWallet); + await voWallet.exit(); + await ref.read(pWallets).deleteWallet( widget.wallet.info, ref.read(secureStoreProvider),