From 02bc765887292266470ff84da8b16b28612c39ab Mon Sep 17 00:00:00 2001 From: CodeDead Date: Tue, 16 Jul 2024 19:23:35 +0200 Subject: [PATCH] feat: fixed an issue with a dialog not displaying the Opal icon --- .../java/com/codedead/opal/controller/MainWindowController.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/codedead/opal/controller/MainWindowController.java b/src/main/java/com/codedead/opal/controller/MainWindowController.java index 9c30916..6aae54a 100644 --- a/src/main/java/com/codedead/opal/controller/MainWindowController.java +++ b/src/main/java/com/codedead/opal/controller/MainWindowController.java @@ -182,7 +182,7 @@ private void checkForUpdates(final boolean showNoUpdates, final boolean showErro } else { logger.info("No updates available"); if (showNoUpdates) { - FxUtils.showInformationAlert(translationBundle.getString("NoUpdateAvailable"), null); + FxUtils.showInformationAlert(translationBundle.getString("NoUpdateAvailable"), getClass().getResourceAsStream(SharedVariables.ICON_URL)); } } } catch (final InterruptedException | IOException | InvalidHttpResponseCodeException | URISyntaxException ex) {