Commit b3497f3
fix(enter-amount): assign the secondary currency-button flag
`SwapAmountView.init` took `showSecondaryCurrencyButton` and dropped it on the
floor, so the stored property kept its `false` default no matter what a caller
passed. `DualSwapAmountView` hands it `!isCurrencySelectorHidden`, which meant
the chevron beside the converted value was hidden in every dual-swap view and
`onSecondaryCurrencyTap` could never fire.
Lost in 971ce13, where `secondaryErrorMessage` was threaded through the same
init and this line went with it.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>1 parent c6f8c57 commit b3497f3
1 file changed
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
0 commit comments