mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-19 23:36:00 -04:00
Fix missing market price update
This commit is contained in:
parent
7e3d2356da
commit
0d3a3cd63a
@ -712,7 +712,8 @@ public class MainViewModel implements ViewModel {
|
||||
|
||||
marketPriceBinding.subscribe((observable, oldValue, newValue) -> {
|
||||
if (newValue != null && !newValue.equals(oldValue)) {
|
||||
|
||||
setMarketPriceInItems();
|
||||
|
||||
String code = preferences.getUseStickyMarketPrice() ?
|
||||
preferences.getPreferredTradeCurrency().getCode() :
|
||||
priceFeed.currencyCodeProperty().get();
|
||||
|
@ -15,10 +15,6 @@ public class PriceFeedComboBoxItem {
|
||||
this.currencyCode = currencyCode;
|
||||
}
|
||||
|
||||
public String getDisplayString() {
|
||||
return displayStringProperty.get();
|
||||
}
|
||||
|
||||
public void setDisplayString(String displayString) {
|
||||
this.displayStringProperty.set(displayString);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user