mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-06-24 23:00:36 -04:00
Fix missing market price update
This commit is contained in:
parent
7e3d2356da
commit
0d3a3cd63a
2 changed files with 2 additions and 5 deletions
|
@ -712,6 +712,7 @@ public class MainViewModel implements ViewModel {
|
||||||
|
|
||||||
marketPriceBinding.subscribe((observable, oldValue, newValue) -> {
|
marketPriceBinding.subscribe((observable, oldValue, newValue) -> {
|
||||||
if (newValue != null && !newValue.equals(oldValue)) {
|
if (newValue != null && !newValue.equals(oldValue)) {
|
||||||
|
setMarketPriceInItems();
|
||||||
|
|
||||||
String code = preferences.getUseStickyMarketPrice() ?
|
String code = preferences.getUseStickyMarketPrice() ?
|
||||||
preferences.getPreferredTradeCurrency().getCode() :
|
preferences.getPreferredTradeCurrency().getCode() :
|
||||||
|
|
|
@ -15,10 +15,6 @@ public class PriceFeedComboBoxItem {
|
||||||
this.currencyCode = currencyCode;
|
this.currencyCode = currencyCode;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getDisplayString() {
|
|
||||||
return displayStringProperty.get();
|
|
||||||
}
|
|
||||||
|
|
||||||
public void setDisplayString(String displayString) {
|
public void setDisplayString(String displayString) {
|
||||||
this.displayStringProperty.set(displayString);
|
this.displayStringProperty.set(displayString);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue