lock symbol is always white

This commit is contained in:
woodser 2025-05-16 18:53:47 -04:00
parent e8e0b8cc60
commit 6e2cfcbcd8
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF

View file

@ -1154,7 +1154,9 @@ abstract public class OfferBookView<R extends GridPane, M extends OfferBookViewM
boolean isSellOffer = OfferViewUtil.isShownAsSellOffer(offer);
boolean isPrivateOffer = offer.isPrivateOffer();
if (isPrivateOffer) {
button.setGraphic(FormBuilder.getIcon(AwesomeIcon.LOCK, "16px"));
Label lockLabel = FormBuilder.getIcon(AwesomeIcon.LOCK, "16px");
lockLabel.setStyle(lockLabel.getStyle() + "; -fx-text-fill: white;");
button.setGraphic(lockLabel);
} else {
iconView.setId(isSellOffer ? "image-buy-white" : "image-sell-white");
iconView.setFitHeight(16);