浏览代码

improve naming

Jan-Peter Klein 2 月之前
父节点
当前提交
fb00972bc1

+ 2 - 2
src/main/java/org/cryptomator/ui/dialogs/Dialogs.java

@@ -38,9 +38,9 @@ public class Dialogs {
 				.setDescriptionKey("removeCert.description") //
 				.setIcon(FontAwesome5Icon.QUESTION) //
 				.setOkButtonKey("removeCert.confirmBtn") //
-				.setCancelButtonKey("generic.button.cancel").setOkAction(v -> {
+				.setCancelButtonKey("generic.button.cancel").setOkAction(stage -> {
 					settings.licenseKey.set(null);
-					v.close();
+					stage.close();
 				}) //
 				.setCancelAction(Stage::close) //
 				.build();

+ 2 - 2
src/main/java/org/cryptomator/ui/fxapp/FxApplicationWindows.java

@@ -153,9 +153,9 @@ public class FxApplicationWindows {
 			Dialogs.buildDokanySupportEndDialog(
 					simpleDialogBuilder.get(),
 					mainWindow.get().window(),
-					v -> {
+					stage -> {
 						showPreferencesWindow(SelectedPreferencesTab.VOLUME);
-						v.close();
+						stage.close();
 					}
 			).showAndWait();
 		}, Platform::runLater);