diff --git a/src/main/java/org/cryptomator/ui/controls/NotificationBar.java b/src/main/java/org/cryptomator/ui/controls/NotificationBar.java index 816014743..64a08f220 100644 --- a/src/main/java/org/cryptomator/ui/controls/NotificationBar.java +++ b/src/main/java/org/cryptomator/ui/controls/NotificationBar.java @@ -69,6 +69,7 @@ public class NotificationBar extends HBox { } public void setStyleClass(String styleClass) { + getStyleClass().clear(); getStyleClass().add(styleClass); }