mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-25 16:05:28 -04:00
Fix bug with incorrect offer direction
This commit is contained in:
parent
228dfe4699
commit
2abc2cd5bc
1 changed files with 1 additions and 1 deletions
|
@ -396,7 +396,7 @@ class TakeOfferViewModel extends ActivatableWithDataModel<TakeOfferDataModel> im
|
||||||
volume.bind(createStringBinding(() -> formatter.formatFiat(dataModel.volumeAsFiat.get()), dataModel.volumeAsFiat));
|
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()));
|
volumeDescriptionLabel.set(BSResources.get("createOffer.amountPriceBox.buy.volumeDescription", dataModel.getCurrencyCode()));
|
||||||
} else {
|
} else {
|
||||||
volumeDescriptionLabel.set(BSResources.get("createOffer.amountPriceBox.sell.volumeDescription", dataModel.getCurrencyCode()));
|
volumeDescriptionLabel.set(BSResources.get("createOffer.amountPriceBox.sell.volumeDescription", dataModel.getCurrencyCode()));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue