From 5b72be306dedf81758cff994f0caeeea2a64ef5c Mon Sep 17 00:00:00 2001 From: Czarek Nakamoto Date: Thu, 17 Oct 2024 12:39:13 +0200 Subject: [PATCH] address commends on github --- lib/core/wallet_loading_service.dart | 2 -- .../desktop_widgets/desktop_wallet_selection_dropdown.dart | 2 -- lib/utils/exception_handler.dart | 4 ++-- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/lib/core/wallet_loading_service.dart b/lib/core/wallet_loading_service.dart index 4d1e37ee40..909695e1d8 100644 --- a/lib/core/wallet_loading_service.dart +++ b/lib/core/wallet_loading_service.dart @@ -65,7 +65,6 @@ class WalletLoadingService { } catch (e) { corruptedWalletsSeeds += "\nFailed to fetch $name seeds: $e"; } - secureStorageShared.write(key: "corruptedWalletsSeed", value: corruptedWalletsSeeds); // try opening another wallet that is not corrupted to give user access to the app final walletInfoSource = await CakeHive.openBox(WalletInfo.boxName); @@ -99,7 +98,6 @@ class WalletLoadingService { } catch (e) { corruptedWalletsSeeds += "\nFailed to fetch $name seeds: $e"; } - secureStorageShared.write(key: "corruptedWalletsSeed", value: corruptedWalletsSeeds); } } diff --git a/lib/src/screens/dashboard/desktop_widgets/desktop_wallet_selection_dropdown.dart b/lib/src/screens/dashboard/desktop_widgets/desktop_wallet_selection_dropdown.dart index 770a8893aa..ec76c31c07 100644 --- a/lib/src/screens/dashboard/desktop_widgets/desktop_wallet_selection_dropdown.dart +++ b/lib/src/screens/dashboard/desktop_widgets/desktop_wallet_selection_dropdown.dart @@ -207,8 +207,6 @@ class _DesktopWalletSelectionDropDownState extends State