remove badge on support and settings tabs on startup

This commit is contained in:
woodser 2022-08-17 12:15:41 -04:00
parent f464110fb5
commit db6367c656

View file

@ -86,6 +86,7 @@ import javafx.geometry.Pos;
import javafx.beans.binding.ObjectBinding;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.beans.property.SimpleStringProperty;
import javafx.beans.property.StringProperty;
import javafx.beans.value.ChangeListener;
@ -353,8 +354,8 @@ public class MainView extends InitializableView<StackPane, MainViewModel> {
baseApplicationContainer.setBottom(createFooter());
setupBadge(portfolioButtonWithBadge, model.getNumPendingTrades(), model.getShowPendingTradesNotification());
//setupBadge(supportButtonWithBadge, model.getNumOpenSupportTickets(), model.getShowOpenSupportTicketsNotification());
setupBadge(settingsButtonWithBadge, new SimpleStringProperty(Res.get("shared.new")), model.getShowSettingsUpdatesNotification());
setupBadge(supportButtonWithBadge, model.getNumOpenSupportTickets(), model.getShowOpenSupportTicketsNotification());
setupBadge(settingsButtonWithBadge, new SimpleStringProperty(Res.get("shared.new")), new SimpleBooleanProperty(false));
settingsButtonWithBadge.getStyleClass().add("new");
navigation.addListener((viewPath, data) -> {