Merge pull request #1581 from acuifex/clearnet

fix tray menu
pull/1597/head
Audric Ackermann 4 years ago committed by GitHub
commit cce6bb4eed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -9,7 +9,7 @@ let tray = null;
function createTrayIcon(getMainWindow, messages) {
// A smaller icon is needed on macOS
const iconSize = process.platform === 'darwin' ? '16' : '256';
const iconNoNewMessages = path.join(__dirname, '..', 'images', `icon_${iconSize}.png`);
const iconNoNewMessages = path.join(__dirname, '..', 'images', 'session', `session_icon_${iconSize}.png`);
tray = new Tray(iconNoNewMessages);

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

Loading…
Cancel
Save