mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +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) {
|
||||
isLoading = false;
|
||||
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(
|
||||
isModalDismissible: true,
|
||||
widget: BottomSheetMessageDisplayWidget(
|
||||
|
@ -145,6 +150,11 @@ abstract class NFTViewModelBase with Store {
|
|||
isImportNFTLoading = false;
|
||||
} catch (e) {
|
||||
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(
|
||||
isModalDismissible: true,
|
||||
widget: BottomSheetMessageDisplayWidget(
|
||||
|
|
Loading…
Reference in a new issue