Skip to content

Commit

Permalink
Merge pull request #4950 from EdgeApp/sam/swapPlaceholder
Browse files Browse the repository at this point in the history
Show currency code for primary placeholder when input is empty
  • Loading branch information
paullinator authored Mar 30, 2024
2 parents 50a8912 + a705661 commit 94bb117
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/scenes/SwapCreateScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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}
/>
Expand Down Expand Up @@ -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}
Expand Down

0 comments on commit 94bb117

Please sign in to comment.