mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-23 03:59:23 +00:00
fixes
This commit is contained in:
parent
d734af351a
commit
24135c5930
1 changed files with 10 additions and 0 deletions
|
@ -95,6 +95,11 @@ abstract class NFTViewModelBase with Store {
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
isLoading = false;
|
isLoading = false;
|
||||||
log(e.toString());
|
log(e.toString());
|
||||||
|
// this is just a connection error that happens while tor is initializing
|
||||||
|
// so we can ignore it:
|
||||||
|
if (e.toString().contains("Unexpected character")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
bottomSheetService.queueBottomSheet(
|
bottomSheetService.queueBottomSheet(
|
||||||
isModalDismissible: true,
|
isModalDismissible: true,
|
||||||
widget: BottomSheetMessageDisplayWidget(
|
widget: BottomSheetMessageDisplayWidget(
|
||||||
|
@ -145,6 +150,11 @@ abstract class NFTViewModelBase with Store {
|
||||||
isImportNFTLoading = false;
|
isImportNFTLoading = false;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
isImportNFTLoading = false;
|
isImportNFTLoading = false;
|
||||||
|
// this is just a connection error that happens while tor is initializing
|
||||||
|
// so we can ignore it:
|
||||||
|
if (e.toString().contains("Unexpected character")) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
bottomSheetService.queueBottomSheet(
|
bottomSheetService.queueBottomSheet(
|
||||||
isModalDismissible: true,
|
isModalDismissible: true,
|
||||||
widget: BottomSheetMessageDisplayWidget(
|
widget: BottomSheetMessageDisplayWidget(
|
||||||
|
|
Loading…
Reference in a new issue