mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-16 17:27:37 +00:00
address comments on github
This commit is contained in:
parent
bb959d0372
commit
159f433dd8
3 changed files with 2 additions and 6 deletions
|
@ -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>(WalletInfo.boxName);
|
||||
|
@ -99,7 +98,6 @@ class WalletLoadingService {
|
|||
} catch (e) {
|
||||
corruptedWalletsSeeds += "\nFailed to fetch $name seeds: $e";
|
||||
}
|
||||
secureStorageShared.write(key: "corruptedWalletsSeed", value: corruptedWalletsSeeds);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -207,8 +207,6 @@ class _DesktopWalletSelectionDropDownState extends State<DesktopWalletSelectionD
|
|||
hideProgressText();
|
||||
setState(() {});
|
||||
} catch (e) {
|
||||
await ExceptionHandler.resetLastPopupDate();
|
||||
await ExceptionHandler.onError(FlutterErrorDetails(exception: e));
|
||||
if (mounted) {
|
||||
changeProcessText(S.of(context).wallet_list_failed_to_load(wallet.name, e.toString()));
|
||||
}
|
||||
|
|
|
@ -79,7 +79,7 @@ class ExceptionHandler {
|
|||
_file!.writeAsString("", mode: FileMode.write);
|
||||
}
|
||||
} catch (e, s) {
|
||||
await _saveException(e.toString(), s);
|
||||
_saveException(e.toString(), s);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -99,7 +99,7 @@ class ExceptionHandler {
|
|||
return;
|
||||
}
|
||||
|
||||
await _saveException(
|
||||
_saveException(
|
||||
errorDetails.exceptionAsString(),
|
||||
errorDetails.stack,
|
||||
library: errorDetails.library,
|
||||
|
|
Loading…
Reference in a new issue