mirror of
https://github.com/cryptomator/cryptomator.git
synced 2026-05-18 18:51:26 +00:00
Cleaned up UnlockInvalidMountPointController
See: https://github.com/cryptomator/cryptomator/pull/2985#discussion_r1252868655 https://github.com/cryptomator/cryptomator/pull/2985#discussion_r1252874468
This commit is contained in:
@@ -24,7 +24,6 @@ public class UnlockInvalidMountPointController implements FxController {
|
||||
private final Vault vault;
|
||||
private final FxApplicationWindows appWindows;
|
||||
private final ResourceBundle resourceBundle;
|
||||
|
||||
private final ExceptionType exceptionType;
|
||||
private final String exceptionMessage;
|
||||
|
||||
@@ -53,10 +52,6 @@ public class UnlockInvalidMountPointController implements FxController {
|
||||
window.close();
|
||||
}
|
||||
|
||||
public boolean isShowPreferences() {
|
||||
return exceptionType.showPreferences;
|
||||
}
|
||||
|
||||
@FXML
|
||||
public void closeAndOpenPreferences() {
|
||||
appWindows.showPreferencesWindow(SelectedPreferencesTab.VOLUME);
|
||||
@@ -93,4 +88,10 @@ public class UnlockInvalidMountPointController implements FxController {
|
||||
this.showPreferences = showPreferences;
|
||||
}
|
||||
}
|
||||
|
||||
/* Getter */
|
||||
|
||||
public boolean isShowPreferences() {
|
||||
return exceptionType.showPreferences;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user