fix text on fiat selector

This commit is contained in:
Robert Malikowski
2026-08-20 16:23:05 +02:00
parent 1089efec17
commit 78c1e77aec
2 changed files with 11 additions and 2 deletions
@@ -296,8 +296,16 @@ class BuySellDefaultAmountSelector extends StatelessWidget {
crossAxisAlignment: CrossAxisAlignment.start,
children: [
if (hasCurrencySelector)
BuySellCurrencyPickerPill(title: mode == BuySellPageMode.sell ? S.of(context).sell : S.of(context).buy,curr: cryptoCurrency, onTap: onCurrencySelectorPressed),
BuySellCurrencyPickerPill(title: mode == BuySellPageMode.sell ? S.of(context).sell : S.of(context).buy,curr: fiatCurrency, onTap: onFiatSelectorPressed),
BuySellCurrencyPickerPill(title: mode == BuySellPageMode.sell ? S
.of(context)
.sell : S
.of(context)
.buy, curr: cryptoCurrency, onTap: onCurrencySelectorPressed),
BuySellCurrencyPickerPill(title: mode == BuySellPageMode.sell ? S
.of(context)
.receive : S
.of(context)
.purchase_with, curr: fiatCurrency, onTap: onFiatSelectorPressed),
Text(
mode == BuySellPageMode.sell