From 570de22dccdc3e8ae339a1f158837330866a8fc2 Mon Sep 17 00:00:00 2001 From: Douglas Daniel Date: Wed, 23 Nov 2022 16:11:18 -0600 Subject: [PATCH] fix(wallet): Account Name Wrapping Send Tab --- .../page/screens/send/send/send.tsx | 108 ++++++++++++------ 1 file changed, 71 insertions(+), 37 deletions(-) diff --git a/components/brave_wallet_ui/page/screens/send/send/send.tsx b/components/brave_wallet_ui/page/screens/send/send/send.tsx index 114fafd0b6b82..106d9343ae05f 100644 --- a/components/brave_wallet_ui/page/screens/send/send/send.tsx +++ b/components/brave_wallet_ui/page/screens/send/send/send.tsx @@ -254,50 +254,84 @@ export const Send = (props: Props) => { lessLeftPadding={true} hasError={insufficientFundsError} > - + {selectedSendOption === 'token' && - + + + {accountNameAndBalance} + + + + + + {selectedSendOption === 'token' && selectedSendAsset && + <> + + setPresetAmountValue(0.5)} /> + setPresetAmountValue(1)} /> + + } + + {selectedSendOption === 'token' && + + } + + + + {sendAmountFiatValue} + + + + } + {selectedSendOption === 'nft' && + + - {selectedSendOption === 'token' && selectedSendAsset && - <> - - setPresetAmountValue(0.5)} /> - setPresetAmountValue(1)} /> - - } - - - - - {accountNameAndBalance} - - {selectedSendOption === 'token' && - - } - - {sendAmountFiatValue} - - - + + + + {accountNameAndBalance} + + + + } {showResolvedDomainAddress &&