Skip to content

Commit

Permalink
Fix issues with warning icon
Browse files Browse the repository at this point in the history
  • Loading branch information
axpoems committed Jan 22, 2025
1 parent 0161e1f commit 68fc96a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,7 @@ public ReadOnlyBooleanProperty getIsAmountOverlayVisible() {

@Override
public void onActivate() {
model.getShouldShowWarningIcon().set(false);
applyQuoteSideMinMaxRange();

if (model.getPriceQuote().get() == null && amountSelectionController.getQuote().get() != null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ public TradeWizardAmountView(TradeWizardAmountModel model,
warningIcon = new Label();
warningIcon.getStyleClass().add("text-fill-grey-dimmed");
warningIcon.setPadding(new Insets(0, 2.5, 0, 0));
warningIcon.setMinWidth(Label.USE_PREF_SIZE);
Icons.getIconForLabel(AwesomeIcon.WARNING_SIGN, warningIcon, "1em");

amountLimitInfo = new Label();
Expand Down

0 comments on commit 68fc96a

Please sign in to comment.