fix tray menu

pull/1581/head
acuifex 4 years ago
parent 27323a12f4
commit bda5a6141a

@ -13,7 +13,8 @@ function createTrayIcon(getMainWindow, messages) {
__dirname,
'..',
'images',
`icon_${iconSize}.png`
'session',
`session_icon_${iconSize}.png`
);
tray = new Tray(iconNoNewMessages);

@ -771,7 +771,7 @@ async function showMainWindow(sqlKey, passwordAttempt = false) {
ready = true;
createWindow();
await createWindow();
if (usingTrayIcon) {
tray = createTrayIcon(getMainWindow, locale.messages);

Loading…
Cancel
Save