mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-26 06:08:40 +01:00
hide currency picker for single-currency wallets
This commit is contained in:
@@ -222,9 +222,11 @@
|
||||
Column(
|
||||
spacing: 8,
|
||||
children: [
|
||||
if (hasCurrencySelector) ...[
|
||||
BuySellCurrencyPickerPill(curr: cryptoCurrency, onTap: onCurrencySelectorPressed),
|
||||
SizedBox.shrink(),
|
||||
FloatingAmountInput(
|
||||
],
|
||||
FloatingAmountInput(
|
||||
currency: fiatCurrency,
|
||||
focusNode: focusNode,
|
||||
controller: controller,
|
||||
@@ -285,6 +287,7 @@
|
||||
spacing: 24,
|
||||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
children: [
|
||||
if(hasCurrencySelector)
|
||||
BuySellCurrencyPickerPill(curr: cryptoCurrency, onTap: onCurrencySelectorPressed),
|
||||
Text(
|
||||
mode == BuySellPageMode.sell
|
||||
|
||||
Reference in New Issue
Block a user