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:
parent
cec88cfe3f
commit
85aaf5946d
1 changed files with 0 additions and 8 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue