mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2025-01-18 08:45:05 +00:00
Merge pull request #93 from cake-tech/CAKE-292-remove-changenow-fix-rate-from-ui
CAKE-292 | removed StandardCheckBox from exchange_page.dart; made rec…
This commit is contained in:
commit
7b7ba17f7a
2 changed files with 5 additions and 4 deletions
|
@ -272,7 +272,7 @@ class ExchangePage extends BasePage {
|
|||
],
|
||||
),
|
||||
),
|
||||
if (exchangeViewModel.isReceiveAmountEditable) Padding(
|
||||
/*if (exchangeViewModel.isReceiveAmountEditable) Padding(
|
||||
padding: EdgeInsets.only(top: 12, left: 24),
|
||||
child: Row(
|
||||
mainAxisAlignment: MainAxisAlignment.start,
|
||||
|
@ -286,7 +286,7 @@ class ExchangePage extends BasePage {
|
|||
),
|
||||
],
|
||||
)
|
||||
),
|
||||
),*/
|
||||
Padding(
|
||||
padding: EdgeInsets.only(top: 30, left: 24, bottom: 24),
|
||||
child: Row(
|
||||
|
|
|
@ -405,12 +405,13 @@ abstract class ExchangeViewModelBase with Store {
|
|||
}
|
||||
|
||||
void _defineIsReceiveAmountEditable() {
|
||||
if ((provider is ChangeNowExchangeProvider)
|
||||
/*if ((provider is ChangeNowExchangeProvider)
|
||||
&&(depositCurrency == CryptoCurrency.xmr)
|
||||
&&(receiveCurrency == CryptoCurrency.btc)) {
|
||||
isReceiveAmountEditable = true;
|
||||
} else {
|
||||
isReceiveAmountEditable = false;
|
||||
}
|
||||
}*/
|
||||
isReceiveAmountEditable = false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue