Changed tray icon behaviour to not show/hide on click (as we have a Show App/Hide App sub-menu)

This commit is contained in:
Amelia Frost 2026-03-28 18:12:35 -07:00
parent cec88cfe3f
commit 85aaf5946d
No known key found for this signature in database

View file

@ -27,14 +27,6 @@ export function initTray() {
updateTrayMenu();
tray.setToolTip("AviaClient for Desktop");
tray.setImage(trayIcon);
tray.on("click", () => {
if (mainWindow.isVisible()) {
mainWindow.hide();
} else {
mainWindow.show();
mainWindow.focus();
}
});
}
export function updateTrayMenu() {