From a7056618ab55558a097e09e7dc4c33f666a93666 Mon Sep 17 00:00:00 2001 From: Samuel Holmes Date: Fri, 29 Mar 2024 18:18:27 -0700 Subject: [PATCH] Show currency code for primary placeholder when input is empty --- src/components/scenes/SwapCreateScene.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/scenes/SwapCreateScene.tsx b/src/components/scenes/SwapCreateScene.tsx index 49939b393f4..bf1dae5482d 100644 --- a/src/components/scenes/SwapCreateScene.tsx +++ b/src/components/scenes/SwapCreateScene.tsx @@ -360,7 +360,7 @@ export const SwapCreateScene = (props: Props) => { onAmountChanged={handleFromAmountChange} onNext={handleNext} onSelectWallet={handleFromSelectWallet} - placeholders={[lstrings.string_tap_to_edit, isNextHidden ? '' : lstrings.string_tap_next_for_quote]} + placeholders={[isNextHidden ? lstrings.string_tap_to_edit : fromCurrencyCode, isNextHidden ? '' : lstrings.string_tap_next_for_quote]} tokenId={fromTokenId} wallet={fromWallet} /> @@ -392,7 +392,7 @@ export const SwapCreateScene = (props: Props) => { onAmountChanged={handleToAmountChange} onNext={handleNext} onSelectWallet={handleToSelectWallet} - placeholders={[lstrings.string_tap_to_edit, isNextHidden ? '' : lstrings.string_tap_next_for_quote]} + placeholders={[isNextHidden ? lstrings.string_tap_to_edit : toCurrencyCode, isNextHidden ? '' : lstrings.string_tap_next_for_quote]} tokenId={toTokenId} wallet={toWallet} heading={lstrings.exchange_title_receiving}