From a2641389c842ff50eb73febf5e750f5dcb7bd868 Mon Sep 17 00:00:00 2001 From: Hanh Date: Wed, 3 Jul 2024 15:31:40 +0100 Subject: [PATCH] Fix for TEX without custom send --- lib/pages/accounts/send.dart | 3 ++- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/pages/accounts/send.dart b/lib/pages/accounts/send.dart index 6298bdfb..2abaa37b 100644 --- a/lib/pages/accounts/send.dart +++ b/lib/pages/accounts/send.dart @@ -269,7 +269,8 @@ class _QuickSendState extends State with WithLoadingAnimation { try { address2 = WarpApi.parseTexAddress(aa.coin, address2); isTex = true; - poolKey.currentState!.setPools(1); + _pools = 1; + poolKey.currentState?.setPools(1); } on String {} final receivers = address.isNotEmptyAndNotNull ? WarpApi.receiversOfAddress(aa.coin, address2) diff --git a/pubspec.yaml b/pubspec.yaml index 1e328cdb..2d4d86a3 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion. # Read more about iOS versioning at # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html -version: 1.6.3+546 +version: 1.6.3+547 environment: sdk: ">=3.0.0 <4.0.0"