Fix confirmation dialog yes/no

This commit is contained in:
UnfamiliarLegacy 2021-11-30 20:43:48 +01:00
parent 2de16e4264
commit ad9728af28

View File

@ -54,7 +54,7 @@ public class NitroHttpProxy {
ButtonType.YES, ButtonType.NO
);
shouldInstall.set(!(alert.showAndWait().filter(t -> t == ButtonType.YES).isPresent()));
shouldInstall.set(alert.showAndWait().filter(t -> t == ButtonType.YES).isPresent());
waitForDialog.release();
});