diff --git a/CHANGELOG.md b/CHANGELOG.md index f316a956e1b..dcc6efd67ad 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/src/components/scenes/RampCreateScene.tsx b/src/components/scenes/RampCreateScene.tsx index f2e1a6de689..e903c8e0b1e 100644 --- a/src/components/scenes/RampCreateScene.tsx +++ b/src/components/scenes/RampCreateScene.tsx @@ -498,6 +498,12 @@ export const RampCreateScene: React.FC = (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,