소스 검색

removed duplicate code

Jan-Peter Klein 10 달 전
부모
커밋
c5d4c9a9c1
1개의 변경된 파일0개의 추가작업 그리고 7개의 파일을 삭제
  1. 0 7
      src/main/java/org/cryptomator/ui/controls/NotificationBar.java

+ 0 - 7
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());