Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
- fixed: `AirshipToast` font scaling
- fixed: Swap provider selection modal scrolling on Android
- fixed: `BuyCrypto` not auto-populating buy asset
- fixed: `RampCreateScene` sell crypto asset not resetting amounts when changing crypto asset

## 4.37.0 (2025-10-21)

Expand Down
6 changes: 6 additions & 0 deletions src/components/scenes/RampCreateScene.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -498,6 +498,12 @@ export const RampCreateScene: React.FC<Props> = (props: Props) => {
return
}

// Clear amount when switching crypto assets in sell mode
if (direction === 'sell') {
setExchangeAmount({ empty: true })
setLastUsedInput(null)
}

await dispatch(
setRampCryptoSelection(account, {
walletId: result.walletId,
Expand Down
Loading