Fixes for litecoin transactions. Change fixed rate mode for exchange.

This commit is contained in:
M
2022-01-27 11:20:51 +02:00
parent 18a1f60433
commit 989ef442ac
5 changed files with 45 additions and 77 deletions
@@ -64,7 +64,7 @@ abstract class ExchangeViewModelBase with Store {
loadLimits();
reaction(
(_) => isFixedRateMode,
(Object _) => _defineIsReceiveAmountEditable());
(Object _) => loadLimits());
}
final WalletBase wallet;
@@ -439,6 +439,6 @@ abstract class ExchangeViewModelBase with Store {
isReceiveAmountEditable = false;
}*/
//isReceiveAmountEditable = false;
isReceiveAmountEditable = (isFixedRateMode ?? false) && provider is ChangeNowExchangeProvider;
isReceiveAmountEditable = provider is ChangeNowExchangeProvider;
}
}