remove unused property

[ci skip]
This commit is contained in:
Sebastian Stenzel
2021-02-01 11:54:21 +01:00
parent b15471b4ff
commit 21038212c1
2 changed files with 1 additions and 12 deletions

View File

@@ -8,8 +8,6 @@ import org.slf4j.LoggerFactory;
import javax.inject.Inject;
import javax.inject.Named;
import javafx.beans.property.BooleanProperty;
import javafx.beans.property.SimpleBooleanProperty;
import javafx.fxml.FXML;
import javafx.stage.FileChooser;
import javafx.stage.Stage;
@@ -24,7 +22,6 @@ public class UnlockSelectMasterkeyFileController implements FxController {
private static final Logger LOG = LoggerFactory.getLogger(UnlockSelectMasterkeyFileController.class);
private final BooleanProperty proceedButtonDisabled = new SimpleBooleanProperty();
private final Stage window;
private final AtomicReference<Path> masterkeyPath;
private final UserInteractionLock<MasterkeyFileProvision> masterkeyFileProvisionLock;
@@ -66,11 +63,4 @@ public class UnlockSelectMasterkeyFileController implements FxController {
}
}
public BooleanProperty proceedButtonDisabledProperty() {
return proceedButtonDisabled;
}
public boolean isProceedButtonDisabled() {
return proceedButtonDisabled.get();
}
}

View File

@@ -9,7 +9,6 @@
<?import javafx.scene.layout.StackPane?>
<?import javafx.scene.layout.VBox?>
<?import javafx.scene.shape.Circle?>
<?import org.cryptomator.ui.controls.FormattedLabel?>
<VBox xmlns:fx="http://javafx.com/fxml"
xmlns="http://javafx.com/javafx"
fx:controller="org.cryptomator.ui.unlock.UnlockSelectMasterkeyFileController"
@@ -35,7 +34,7 @@
<ButtonBar buttonMinWidth="120" buttonOrder="+CX">
<buttons>
<Button text="%generic.button.cancel" ButtonBar.buttonData="CANCEL_CLOSE" cancelButton="true" onAction="#cancel"/>
<Button text="%generic.button.next" ButtonBar.buttonData="NEXT_FORWARD" defaultButton="true" onAction="#proceed" disable="${controller.proceedButtonDisabled}"/>
<Button text="%generic.button.next" ButtonBar.buttonData="NEXT_FORWARD" defaultButton="true" onAction="#proceed"/>
</buttons>
</ButtonBar>
</VBox>