mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Remove remaining "N/A" in offer screen after price is set
- If the price is not available we display "N/A". Once the price becomes available the listener handler was not removing the text (N/A).
This commit is contained in:
parent
2f8172f704
commit
afdd14e391
@ -715,6 +715,7 @@ public class OfferBookView extends ActivatableViewAndModel<GridPane, OfferBookVi
|
||||
@Override
|
||||
public void changed(ObservableValue<? extends Number> observable, Number oldValue, Number newValue) {
|
||||
if (offerBookListItem != null && offerBookListItem.getOffer().getVolume() != null) {
|
||||
setText("");
|
||||
setGraphic(new ColoredDecimalPlacesWithZerosText(model.getVolume(offerBookListItem),
|
||||
model.getNumberOfDecimalsForVolume(offerBookListItem)));
|
||||
model.priceFeedService.updateCounterProperty().removeListener(listener);
|
||||
|
Loading…
Reference in New Issue
Block a user