mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-19 23:36:00 -04:00
Fix bug with incorrect offer direction
This commit is contained in:
parent
228dfe4699
commit
2abc2cd5bc
@ -396,7 +396,7 @@ class TakeOfferViewModel extends ActivatableWithDataModel<TakeOfferDataModel> im
|
||||
volume.bind(createStringBinding(() -> formatter.formatFiat(dataModel.volumeAsFiat.get()), dataModel.volumeAsFiat));
|
||||
|
||||
|
||||
if (dataModel.getDirection() == Offer.Direction.BUY) {
|
||||
if (dataModel.getDirection() == Offer.Direction.SELL) {
|
||||
volumeDescriptionLabel.set(BSResources.get("createOffer.amountPriceBox.buy.volumeDescription", dataModel.getCurrencyCode()));
|
||||
} else {
|
||||
volumeDescriptionLabel.set(BSResources.get("createOffer.amountPriceBox.sell.volumeDescription", dataModel.getCurrencyCode()));
|
||||
|
Loading…
x
Reference in New Issue
Block a user