Add style

This commit is contained in:
chimp1984 2021-10-21 11:04:17 +02:00
parent 1aa5e7053d
commit 8ac40a3e0c
No known key found for this signature in database
GPG Key ID: 9801B4EC591F90E3

View File

@ -364,7 +364,9 @@ public class MainView extends InitializableView<StackPane, MainViewModel>
setupBadge(portfolioButtonWithBadge, model.getNumPendingTrades(), model.getShowPendingTradesNotification());
setupBadge(supportButtonWithBadge, model.getNumOpenSupportTickets(), model.getShowOpenSupportTicketsNotification());
setupBadge(settingsButtonWithBadge, new SimpleStringProperty(Res.get("shared.new")), model.getShowSettingsUpdatesNotification());
settingsButtonWithBadge.getStyleClass().add("new");
navigation.addListener((viewPath, data) -> {
if (viewPath.size() != 2 || viewPath.indexOf(MainView.class) != 0)