diff --git a/lib/account.dart b/lib/account.dart index 2324bea..a9bc855 100644 --- a/lib/account.dart +++ b/lib/account.dart @@ -193,7 +193,7 @@ class QRAddressState extends State { if (tapMessage != null) Text(tapMessage), Padding(padding: EdgeInsets.symmetric(vertical: 4)), GestureDetector( - onTap: hasTAddr ? _onQRTap : null, + onTap: _onQRTap, onLongPress: _onUpdateTAddr, child: RotatedBox( quarterTurns: 0, diff --git a/lib/txplan.dart b/lib/txplan.dart index 2c87d30..f348b54 100644 --- a/lib/txplan.dart +++ b/lib/txplan.dart @@ -123,14 +123,12 @@ class TxPlanPage extends StatelessWidget { await WarpApi.signAndBroadcast(active.coin, active.id, plan); } showSnackBar(S.current.txId(txid)); - if (settings.sound) - await player.play(AssetSource("success.mp3")); + if (settings.sound) await player.play(AssetSource("success.mp3")); active.setDraftRecipient(null); active.update(); } on String catch (message) { showSnackBar(message, error: true); - if (settings.sound) - await player.play(AssetSource("fail.mp3")); + if (settings.sound) await player.play(AssetSource("fail.mp3")); } finally { active.setBanner(""); } diff --git a/native/zcash-sync b/native/zcash-sync index 38ecd60..31b8f36 160000 --- a/native/zcash-sync +++ b/native/zcash-sync @@ -1 +1 @@ -Subproject commit 38ecd604e4ae244cd89dbf612de7eb715c80efcb +Subproject commit 31b8f3613c0cf4afae3059b4df4f568fd8dccb41 diff --git a/pubspec.yaml b/pubspec.yaml index 4505eb5..a078911 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.4.0+438 +version: 1.4.0+439 environment: sdk: ">=2.12.0 <3.0.0"