From 75124ad7ada90f8c43a69db427ad6d0165d89e4a Mon Sep 17 00:00:00 2001 From: ahmedhanafy725 Date: Tue, 4 Feb 2025 15:19:15 +0200 Subject: [PATCH] Update the qr code error icon and color --- app/lib/screens/wallets/send.dart | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/lib/screens/wallets/send.dart b/app/lib/screens/wallets/send.dart index 774340d97..3067791c5 100644 --- a/app/lib/screens/wallets/send.dart +++ b/app/lib/screens/wallets/send.dart @@ -396,7 +396,7 @@ class _WalletSendScreenState extends ConsumerState { if (chainType == ChainType.Stellar && code.queryParameters.containsKey('message')) { memoController.text = code.queryParameters['message']!; - } + } setState(() {}); } else { _showInvalidQRCodeDialog(); @@ -410,12 +410,11 @@ class _WalletSendScreenState extends ConsumerState { showDialog( context: context, builder: (BuildContext context) => CustomDialog( - type: DialogType.Warning, - image: Icons.warning, + type: DialogType.Error, + image: Icons.error, title: 'Invalid QR Code', description: 'The QR code is missing the required information or invalid.', - actions: [ TextButton( child: const Text('Close'),