mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Fix dynamic icon
This commit is contained in:
parent
1e19b808f9
commit
6d491437e4
1 changed files with 2 additions and 1 deletions
|
@ -168,7 +168,8 @@ async function doAfterDefiningTheWindow(): Promise<void> {
|
||||||
trayPath = trayPath.resize({height: 32});
|
trayPath = trayPath.resize({height: 32});
|
||||||
if ((await getConfig("trayIcon")) == "default") {
|
if ((await getConfig("trayIcon")) == "default") {
|
||||||
tray.setImage(trayPath);
|
tray.setImage(trayPath);
|
||||||
} else if (await getConfig("dynamicIcon")) {
|
}
|
||||||
|
if (await getConfig("dynamicIcon")) {
|
||||||
mainWindow.setIcon(trayPath);
|
mainWindow.setIcon(trayPath);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue