Skip to content

Commit

Permalink
Reword Send Payment to Send. (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
KingGorrin authored Jan 31, 2024
1 parent 3a97d10 commit 9989882
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion lib/services/wallet_connect_service.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,7 @@ class _SendLargeCardState extends State<SendLargeCard> {
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)} ?',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ class _SendMediumCardState extends State<SendMediumCard> {
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)} ?',
Expand Down
4 changes: 2 additions & 2 deletions lib/widgets/reusable_widgets/buttons/send_payment_button.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9989882

Please sign in to comment.