Merge branch 'main' into CAKE-272-implement-localization-generation-script

# Conflicts:
#	lib/generated/i18n.dart
#	res/values/strings_de.arb
This commit is contained in:
OleksandrSobol
2021-03-19 20:35:22 +02:00
13 changed files with 16 additions and 15 deletions
+2 -2
View File
@@ -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;
}
}