mirror of
https://github.com/haveno-dex/haveno.git
synced 2026-01-09 19:41:01 -05:00
do not set offer book default trade currency on show all
This commit is contained in:
parent
3400665e94
commit
5dbe8d0ca6
1 changed files with 1 additions and 4 deletions
|
|
@ -296,10 +296,7 @@ abstract class OfferBookViewModel extends ActivatableViewModel {
|
|||
showAllTradeCurrenciesProperty.set(showAllEntry);
|
||||
if (isEditEntry(code))
|
||||
navigation.navigateTo(MainView.class, SettingsView.class, PreferencesView.class);
|
||||
else if (showAllEntry) {
|
||||
this.selectedTradeCurrency = getDefaultTradeCurrency();
|
||||
tradeCurrencyCode.set(selectedTradeCurrency.getCode());
|
||||
} else {
|
||||
else if (!showAllEntry) {
|
||||
this.selectedTradeCurrency = tradeCurrency;
|
||||
tradeCurrencyCode.set(code);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue