Fix dynamic icon

This commit is contained in:
smartfrigde 2023-06-10 19:49:32 +02:00
parent 1e19b808f9
commit 6d491437e4

View file

@ -168,7 +168,8 @@ async function doAfterDefiningTheWindow(): Promise<void> {
trayPath = trayPath.resize({height: 32});
if ((await getConfig("trayIcon")) == "default") {
tray.setImage(trayPath);
} else if (await getConfig("dynamicIcon")) {
}
if (await getConfig("dynamicIcon")) {
mainWindow.setIcon(trayPath);
}
});