Merge pull request #6296 from jmacxx/change_buy_sell_button_text

Clarify wording on buy/sell offerbook button
This commit is contained in:
Christoph Atteneder 2022-10-06 09:48:19 +02:00 committed by GitHub
commit b29b054469
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1177,7 +1177,7 @@ abstract public class OfferBookView<R extends GridPane, M extends OfferBookViewM
iconView.setId(isSellOffer ? "image-buy-white" : "image-sell-white");
button.setId(isSellOffer ? "buy-button" : "sell-button");
button.setStyle("-fx-text-fill: white");
title = Res.get("offerbook.takeOffer");
title = Res.get(isSellOffer ? "shared.buy" : "shared.sell");
button.setTooltip(new Tooltip(Res.get("offerbook.takeOfferButton.tooltip", model.getDirectionLabelTooltip(offer))));
button.setOnAction(e -> onTakeOffer(offer));
button2.setManaged(false);