mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
- update breez package
- minor fixes
This commit is contained in:
@@ -391,31 +391,3 @@ class LightningWallet {
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
extension _ConfigCopyWith on Config {
|
||||
Config copyWith({
|
||||
String? apiKey,
|
||||
String? lnurlDomain,
|
||||
Network? network,
|
||||
int? syncIntervalSecs,
|
||||
MaxFee? maxDepositClaimFee,
|
||||
bool? preferSparkOverLightning,
|
||||
bool? useDefaultExternalInputParsers,
|
||||
bool? privateEnabledDefault,
|
||||
OptimizationConfig? optimizationConfig,
|
||||
int? maxConcurrentClaims,
|
||||
}) =>
|
||||
Config(
|
||||
lnurlDomain: lnurlDomain ?? this.lnurlDomain,
|
||||
apiKey: apiKey ?? this.apiKey,
|
||||
network: network ?? this.network,
|
||||
syncIntervalSecs: syncIntervalSecs ?? this.syncIntervalSecs,
|
||||
maxDepositClaimFee: maxDepositClaimFee ?? this.maxDepositClaimFee,
|
||||
preferSparkOverLightning: preferSparkOverLightning ?? this.preferSparkOverLightning,
|
||||
useDefaultExternalInputParsers:
|
||||
useDefaultExternalInputParsers ?? this.useDefaultExternalInputParsers,
|
||||
privateEnabledDefault: privateEnabledDefault ?? this.privateEnabledDefault,
|
||||
optimizationConfig: optimizationConfig ?? this.optimizationConfig,
|
||||
maxConcurrentClaims: maxConcurrentClaims ?? this.maxConcurrentClaims,
|
||||
);
|
||||
}
|
||||
|
||||
@@ -134,11 +134,11 @@ packages:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
path: "."
|
||||
ref: "9ad3fc1cdc7f09009786cf4960a0b7697e9a249f"
|
||||
resolved-ref: "9ad3fc1cdc7f09009786cf4960a0b7697e9a249f"
|
||||
url: "https://github.com/cake-tech/breez-sdk-spark-flutter"
|
||||
ref: "v0.11.0"
|
||||
resolved-ref: "4a6110477c526ddf236c6b5d4ad064802062f5ad"
|
||||
url: "https://github.com/breez/breez-sdk-spark-flutter"
|
||||
source: git
|
||||
version: "0.9.1"
|
||||
version: "0.11.0"
|
||||
bs58check:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
||||
@@ -71,8 +71,8 @@ dependencies:
|
||||
ref: e867e3d0156d0b29858100f30adc2625b9dae586
|
||||
breez_sdk_spark_flutter:
|
||||
git:
|
||||
url: https://github.com/cake-tech/breez-sdk-spark-flutter
|
||||
ref: 9ad3fc1cdc7f09009786cf4960a0b7697e9a249f
|
||||
url: https://github.com/breez/breez-sdk-spark-flutter
|
||||
ref: v0.11.0
|
||||
|
||||
dev_dependencies:
|
||||
flutter_test:
|
||||
|
||||
@@ -109,7 +109,9 @@ class AuthPagePinCodeStateImpl extends AuthPageState<AuthPage> {
|
||||
@override
|
||||
Future<void> close({String? route, dynamic arguments}) async {
|
||||
if (_key.currentContext == null) {
|
||||
throw Exception('Key context is null. Should be not happened');
|
||||
// throw Exception('Key context is null. Should be not happened');
|
||||
// flutter can happen, so safe to just return
|
||||
return;
|
||||
}
|
||||
|
||||
/// not the best scenario, but WidgetsBinding is not behaving correctly on Android
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import 'package:cake_wallet/generated/i18n.dart';
|
||||
import 'package:cake_wallet/new-ui/widgets/modal_header.dart';
|
||||
import 'package:cake_wallet/new-ui/widgets/modal_page_wrapper.dart';
|
||||
import 'package:cake_wallet/new-ui/widgets/modern_button.dart';
|
||||
import 'package:cake_wallet/new-ui/widgets/receive_page/receive_top_bar.dart';
|
||||
@@ -101,7 +100,7 @@ class ManageNodesPage extends BasePage {
|
||||
}
|
||||
final nodeListRow = NodeListRow(
|
||||
title: node.uriRaw,
|
||||
subtitle: node.label!,
|
||||
subtitle: node.label ?? '',
|
||||
node: node,
|
||||
isSelected: isSelected,
|
||||
isPow: isPow,
|
||||
|
||||
@@ -104,7 +104,7 @@ abstract class WalletGroupsDisplayViewModelBase with Store {
|
||||
|
||||
await _walletManager.updateWalletGroups();
|
||||
|
||||
final walletGroups = _walletManager.walletGroups;
|
||||
final walletGroups = List<WalletGroup>.from(_walletManager.walletGroups);
|
||||
|
||||
// Iterate through the wallet groups to filter and categorize wallets
|
||||
for (var group in walletGroups) {
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
PODS:
|
||||
- bitbox_flutter (0.0.1):
|
||||
- FlutterMacOS
|
||||
- breez_sdk_spark_flutter (0.9.1):
|
||||
- breez_sdk_spark_flutter (0.11.0):
|
||||
- FlutterMacOS
|
||||
- connectivity_plus (0.0.1):
|
||||
- FlutterMacOS
|
||||
@@ -168,7 +168,7 @@ EXTERNAL SOURCES:
|
||||
|
||||
SPEC CHECKSUMS:
|
||||
bitbox_flutter: 16088f5c7febacf894f4d07bbdfb441c9f0757fe
|
||||
breez_sdk_spark_flutter: 395f5c3f35d0f128ed504588de212ff601f6dbeb
|
||||
breez_sdk_spark_flutter: 2e864a52e699546aedea3d64d0e0cc88bc0ac595
|
||||
connectivity_plus: 0a976dfd033b59192912fa3c6c7b54aab5093802
|
||||
cw_mweb: 7440b12ead811dda972a9918442ea2a458e8742c
|
||||
device_info_plus: 5401765fde0b8d062a2f8eb65510fb17e77cf07f
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||
BuildableName = "Monero.com.app"
|
||||
BuildableName = "Cake Wallet.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
@@ -31,7 +31,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||
BuildableName = "Monero.com.app"
|
||||
BuildableName = "Cake Wallet.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
@@ -55,7 +55,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||
BuildableName = "Monero.com.app"
|
||||
BuildableName = "Cake Wallet.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
@@ -72,7 +72,7 @@
|
||||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||
BuildableName = "Monero.com.app"
|
||||
BuildableName = "Cake Wallet.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
|
||||
Reference in New Issue
Block a user