mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-18 05:51:34 +02:00
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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user