diff --git a/src/main/java/org/cryptomator/ui/controls/NotificationBar.java b/src/main/java/org/cryptomator/ui/controls/NotificationBar.java index 58061ec82..816014743 100644 --- a/src/main/java/org/cryptomator/ui/controls/NotificationBar.java +++ b/src/main/java/org/cryptomator/ui/controls/NotificationBar.java @@ -54,13 +54,6 @@ public class NotificationBar extends HBox { }); closeButton.visibleProperty().bind(dismissable); - closeButton.setOnAction(_ -> { - visibleProperty().unbind(); - managedProperty().unbind(); - visibleProperty().set(false); - managedProperty().set(false); - }); - getChildren().addAll(spacer, leftRegion, vbox, rightRegion, closeButton); visibleProperty().bind(notifyProperty());