mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-12-10 05:30:30 -05:00
make offerbook table in market view not selectable and show only top 3 offers, remove show effects option
This commit is contained in:
parent
93d89cadaa
commit
d015df43cb
11 changed files with 19 additions and 61 deletions
|
|
@ -108,7 +108,6 @@ public final class Preferences implements Persistable {
|
|||
// Observable wrappers
|
||||
transient private final StringProperty btcDenominationProperty = new SimpleStringProperty(btcDenomination);
|
||||
transient private final BooleanProperty useAnimationsProperty = new SimpleBooleanProperty(useAnimations);
|
||||
transient private final BooleanProperty useEffectsProperty = new SimpleBooleanProperty(useEffects);
|
||||
transient private final ObservableList<FiatCurrency> fiatCurrenciesAsObservable = FXCollections.observableArrayList();
|
||||
transient private final ObservableList<CryptoCurrency> cryptoCurrenciesAsObservable = FXCollections.observableArrayList();
|
||||
transient private final ObservableList<TradeCurrency> tradeCurrenciesAsObservable = FXCollections.observableArrayList();
|
||||
|
|
@ -128,7 +127,6 @@ public final class Preferences implements Persistable {
|
|||
if (persisted != null) {
|
||||
setBtcDenomination(persisted.btcDenomination);
|
||||
setUseAnimations(persisted.useAnimations);
|
||||
setUseEffects(persisted.useEffects);
|
||||
|
||||
setFiatCurrencies(persisted.fiatCurrencies);
|
||||
fiatCurrencies = new ArrayList<>(fiatCurrenciesAsObservable);
|
||||
|
|
@ -189,10 +187,6 @@ public final class Preferences implements Persistable {
|
|||
useAnimations = useAnimationsProperty.get();
|
||||
storage.queueUpForSave(2000);
|
||||
});
|
||||
useEffectsProperty.addListener((ov) -> {
|
||||
useEffects = useEffectsProperty.get();
|
||||
storage.queueUpForSave(2000);
|
||||
});
|
||||
fiatCurrenciesAsObservable.addListener((Observable ov) -> {
|
||||
fiatCurrencies.clear();
|
||||
fiatCurrencies.addAll(fiatCurrenciesAsObservable);
|
||||
|
|
@ -241,10 +235,6 @@ public final class Preferences implements Persistable {
|
|||
this.useAnimationsProperty.set(useAnimationsProperty);
|
||||
}
|
||||
|
||||
public void setUseEffects(boolean useEffectsProperty) {
|
||||
this.useEffectsProperty.set(useEffectsProperty);
|
||||
}
|
||||
|
||||
public void setBitcoinNetwork(BitcoinNetwork bitcoinNetwork) {
|
||||
if (this.bitcoinNetwork != bitcoinNetwork)
|
||||
bitsquareEnvironment.saveBitcoinNetwork(bitcoinNetwork);
|
||||
|
|
@ -358,10 +348,6 @@ public final class Preferences implements Persistable {
|
|||
return btcDenominationProperty.get();
|
||||
}
|
||||
|
||||
public boolean getUseEffects() {
|
||||
return useEffectsProperty.get();
|
||||
}
|
||||
|
||||
public boolean getUseAnimations() {
|
||||
return useAnimationsProperty.get();
|
||||
}
|
||||
|
|
@ -374,10 +360,6 @@ public final class Preferences implements Persistable {
|
|||
return useAnimationsProperty;
|
||||
}
|
||||
|
||||
public BooleanProperty useEffectsPropertyProperty() {
|
||||
return useEffectsProperty;
|
||||
}
|
||||
|
||||
public BitcoinNetwork getBitcoinNetwork() {
|
||||
return bitcoinNetwork;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue