mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
ignore timeout exception
This commit is contained in:
Binary file not shown.
@@ -892,7 +892,7 @@ abstract class ElectrumWalletAddressesBase extends WalletAddresses with Store {
|
||||
}
|
||||
} on SdkError_NetworkError catch (_) {
|
||||
} on SdkError_SparkError catch (e) {
|
||||
if (!e.field0.contains("dns")) rethrow;
|
||||
if (!e.field0.contains("dns") && !e.field0.contains("TimedOut")) rethrow;
|
||||
} finally {
|
||||
lightningAddress ??= lightningWallet!.cachedAddress;
|
||||
}
|
||||
|
||||
@@ -154,7 +154,7 @@ class LightningWallet {
|
||||
} on SdkError_NetworkError catch (_) {
|
||||
return null;
|
||||
} on SdkError_SparkError catch (e) {
|
||||
if (!e.field0.contains("dns")) rethrow;
|
||||
if (!e.field0.contains("dns") && !e.field0.contains("TimedOut")) rethrow;
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -639,7 +639,7 @@ class _NewSendPageState extends State<NewSendPage> {
|
||||
output.setFiatAmount(amount);
|
||||
}
|
||||
} else {
|
||||
final isAll = context.mounted && amount != S.of(context).all;
|
||||
final isAll = mounted && amount != S.of(context).all;
|
||||
if (output.sendAll && isAll) {
|
||||
output.sendAll = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user