CAKE-292 | removed StandardCheckBox from exchange_page.dart; made receive amount not editable

This commit is contained in:
OleksandrSobol
2021-03-15 19:54:04 +02:00
parent 206e518e02
commit 7316646b44
2 changed files with 5 additions and 4 deletions
@@ -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;
}
}