mirror of
https://github.com/retoaccess1/haveno-reto.git
synced 2024-12-03 00:13:34 +01:00
set selected currency when account has single currency
This commit is contained in:
parent
7c2af064a3
commit
6de61243b3
@ -108,6 +108,7 @@ class TraditionalAccountsDataModel extends ActivatableDataModel {
|
||||
TradeCurrency singleTradeCurrency = paymentAccount.getSingleTradeCurrency();
|
||||
List<TradeCurrency> tradeCurrencies = paymentAccount.getTradeCurrencies();
|
||||
if (singleTradeCurrency != null) {
|
||||
paymentAccount.setSelectedTradeCurrency(singleTradeCurrency);
|
||||
if (singleTradeCurrency instanceof TraditionalCurrency)
|
||||
preferences.addTraditionalCurrency((TraditionalCurrency) singleTradeCurrency);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user