From 85aaf5946df805ce19a4df4b2d3120adb1716c19 Mon Sep 17 00:00:00 2001 From: Amelia Frost Date: Sat, 28 Mar 2026 18:12:35 -0700 Subject: [PATCH] Changed tray icon behaviour to not show/hide on click (as we have a Show App/Hide App sub-menu) --- src/native/tray.ts | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/native/tray.ts b/src/native/tray.ts index a15f211..ae1441d 100644 --- a/src/native/tray.ts +++ b/src/native/tray.ts @@ -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() {