improve naming

This commit is contained in:
Jan-Peter Klein
2025-01-09 15:31:07 +01:00
parent 387fb28c65
commit fb00972bc1
2 changed files with 4 additions and 4 deletions

View File

@@ -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();

View File

@@ -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);