mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-12-04 12:34:14 +01: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:
@@ -272,7 +272,7 @@ class ExchangePage extends BasePage {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
if (exchangeViewModel.isReceiveAmountEditable) Padding(
|
/*if (exchangeViewModel.isReceiveAmountEditable) Padding(
|
||||||
padding: EdgeInsets.only(top: 12, left: 24),
|
padding: EdgeInsets.only(top: 12, left: 24),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
mainAxisAlignment: MainAxisAlignment.start,
|
||||||
@@ -286,7 +286,7 @@ class ExchangePage extends BasePage {
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
),
|
),*/
|
||||||
Padding(
|
Padding(
|
||||||
padding: EdgeInsets.only(top: 30, left: 24, bottom: 24),
|
padding: EdgeInsets.only(top: 30, left: 24, bottom: 24),
|
||||||
child: Row(
|
child: Row(
|
||||||
|
|||||||
@@ -405,12 +405,13 @@ abstract class ExchangeViewModelBase with Store {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void _defineIsReceiveAmountEditable() {
|
void _defineIsReceiveAmountEditable() {
|
||||||
if ((provider is ChangeNowExchangeProvider)
|
/*if ((provider is ChangeNowExchangeProvider)
|
||||||
&&(depositCurrency == CryptoCurrency.xmr)
|
&&(depositCurrency == CryptoCurrency.xmr)
|
||||||
&&(receiveCurrency == CryptoCurrency.btc)) {
|
&&(receiveCurrency == CryptoCurrency.btc)) {
|
||||||
isReceiveAmountEditable = true;
|
isReceiveAmountEditable = true;
|
||||||
} else {
|
} else {
|
||||||
isReceiveAmountEditable = false;
|
isReceiveAmountEditable = false;
|
||||||
}
|
}*/
|
||||||
|
isReceiveAmountEditable = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user