Skip to content

Commit 03656f1

Browse files
committed
fix: alternate idle images for linux
Signed-off-by: Adam Setch <[email protected]>
1 parent 6336484 commit 03656f1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/electron/main.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -195,16 +195,16 @@ app.whenReady().then(async () => {
195195

196196
ipc.on('gitify:icon-idle', () => {
197197
if (!mb.tray.isDestroyed()) {
198-
if (process.platform === 'darwin' || process.platform === 'win32') {
199-
mb.tray.setImage(
200-
updateAvailableMenuItem.visible ? idleUpdateAvailableIcon : idleIcon,
201-
);
202-
} else {
198+
if (process.platform === 'linux') {
203199
mb.tray.setImage(
204200
updateAvailableMenuItem.visible
205201
? idleAlternateUpdateAvailableIcon
206202
: idleAlternateIcon,
207203
);
204+
} else {
205+
mb.tray.setImage(
206+
updateAvailableMenuItem.visible ? idleUpdateAvailableIcon : idleIcon,
207+
);
208208
}
209209
}
210210
});

0 commit comments

Comments
 (0)