From 096aeb0c5407545b4862288c29572ce84b362fd7 Mon Sep 17 00:00:00 2001 From: Sebastian Stenzel Date: Wed, 11 Mar 2026 22:49:28 +0100 Subject: [PATCH] renamed var [ci skip] --- .../ui/keyloading/hub/CheckHostTrustController.java | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/cryptomator/ui/keyloading/hub/CheckHostTrustController.java b/src/main/java/org/cryptomator/ui/keyloading/hub/CheckHostTrustController.java index e542bdd79..e536dfd64 100644 --- a/src/main/java/org/cryptomator/ui/keyloading/hub/CheckHostTrustController.java +++ b/src/main/java/org/cryptomator/ui/keyloading/hub/CheckHostTrustController.java @@ -13,7 +13,6 @@ import org.slf4j.Logger; import org.slf4j.LoggerFactory; import javax.inject.Inject; -import javafx.application.Platform; import javafx.fxml.FXML; import javafx.scene.Scene; import javafx.scene.control.Label; @@ -38,7 +37,7 @@ public class CheckHostTrustController implements FxController { private final Stage window; private final HubConfig hubConfig; private final Lazy authFlowScene; - private final Lazy unauthorizedHostScene; + private final Lazy untrustedHostScene; private final CompletableFuture result; private final Settings settings; private final Environment env; @@ -52,11 +51,11 @@ public class CheckHostTrustController implements FxController { private TextFlow hostnamesFlow; @Inject - public CheckHostTrustController(@KeyLoading Stage window, HubConfig hubConfig, @FxmlScene(FxmlFile.HUB_AUTH_FLOW) Lazy authFlowScene, @FxmlScene(FxmlFile.HUB_UNTRUSTED_HOST) Lazy unauthorizedHostScene, CompletableFuture result, Settings settings, Environment env, ResourceBundle resourceBundle) { + public CheckHostTrustController(@KeyLoading Stage window, HubConfig hubConfig, @FxmlScene(FxmlFile.HUB_AUTH_FLOW) Lazy authFlowScene, @FxmlScene(FxmlFile.HUB_UNTRUSTED_HOST) Lazy untrustedHostScene, CompletableFuture result, Settings settings, Environment env, ResourceBundle resourceBundle) { this.window = window; this.hubConfig = hubConfig; this.authFlowScene = authFlowScene; - this.unauthorizedHostScene = unauthorizedHostScene; + this.untrustedHostScene = untrustedHostScene; this.result = result; this.settings = settings; this.env = env; @@ -97,7 +96,7 @@ public class CheckHostTrustController implements FxController { @FXML public void deny() { result.cancel(true); - window.setScene(unauthorizedHostScene.get()); + window.setScene(untrustedHostScene.get()); } private void renderHostnames() {