mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-23 07:00:49 -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));
|
||||
|
||||
|
||||
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…
Add table
Add a link
Reference in a new issue