From c134e27c738eee393a6cac4cd7c85d7be1804b57 Mon Sep 17 00:00:00 2001 From: CryptoFish <13164589+KingGorrin@users.noreply.github.com> Date: Tue, 30 Jan 2024 12:13:47 +0100 Subject: [PATCH] Reword `Send Payment` to `Send`. --- lib/services/wallet_connect_service.dart | 2 +- .../modular_widgets/transfer_widgets/send/send_large.dart | 2 +- .../modular_widgets/transfer_widgets/send/send_medium.dart | 2 +- lib/widgets/reusable_widgets/buttons/send_payment_button.dart | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/services/wallet_connect_service.dart b/lib/services/wallet_connect_service.dart index 681bb0b6..4e28e4c2 100644 --- a/lib/services/wallet_connect_service.dart +++ b/lib/services/wallet_connect_service.dart @@ -328,7 +328,7 @@ class WalletConnectService { final wasActionAccepted = await showDialogWithNoAndYesOptions( context: _context, isBarrierDismissible: false, - title: '${dAppMetadata.name} - Send Payment', + title: '${dAppMetadata.name} - Send', content: Column( mainAxisSize: MainAxisSize.min, crossAxisAlignment: CrossAxisAlignment.center, diff --git a/lib/widgets/modular_widgets/transfer_widgets/send/send_large.dart b/lib/widgets/modular_widgets/transfer_widgets/send/send_large.dart index 3b4bb16a..2e363efc 100644 --- a/lib/widgets/modular_widgets/transfer_widgets/send/send_large.dart +++ b/lib/widgets/modular_widgets/transfer_widgets/send/send_large.dart @@ -226,7 +226,7 @@ class _SendLargeCardState extends State { showDialogWithNoAndYesOptions( isBarrierDismissible: false, context: context, - title: 'Send Payment', + title: 'Send', description: 'Are you sure you want to transfer ' '${_amountController.text} ${_selectedToken.symbol} to ' '${ZenonAddressUtils.getLabel(_recipientController.text)} ?', diff --git a/lib/widgets/modular_widgets/transfer_widgets/send/send_medium.dart b/lib/widgets/modular_widgets/transfer_widgets/send/send_medium.dart index 82029410..363cc2f5 100644 --- a/lib/widgets/modular_widgets/transfer_widgets/send/send_medium.dart +++ b/lib/widgets/modular_widgets/transfer_widgets/send/send_medium.dart @@ -180,7 +180,7 @@ class _SendMediumCardState extends State { showDialogWithNoAndYesOptions( context: context, isBarrierDismissible: true, - title: 'Send Payment', + title: 'Send', description: 'Are you sure you want to transfer ' '${_amountController.text} ${_selectedToken.symbol} to ' '${ZenonAddressUtils.getLabel(_recipientController.text)} ?', diff --git a/lib/widgets/reusable_widgets/buttons/send_payment_button.dart b/lib/widgets/reusable_widgets/buttons/send_payment_button.dart index e69d58bd..7241e5d5 100644 --- a/lib/widgets/reusable_widgets/buttons/send_payment_button.dart +++ b/lib/widgets/reusable_widgets/buttons/send_payment_button.dart @@ -6,9 +6,9 @@ class SendPaymentButton extends LoadingButton { const SendPaymentButton({ required VoidCallback? onPressed, required Key key, - String text = 'Send payment', + String text = 'Send', Color? outlineColor, - Size minimumSize = const Size(150.0, 40.0), + Size minimumSize = const Size(100.0, 40.0), }) : super( onPressed: onPressed, text: text,