mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-31 18:58:51 -04:00
lock symbol is always white
This commit is contained in:
parent
e8e0b8cc60
commit
6e2cfcbcd8
1 changed files with 3 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue