diff --git a/src/main.js b/src/main.js index 2f3c5537..f715717b 100644 --- a/src/main.js +++ b/src/main.js @@ -494,7 +494,7 @@ function initializeAfterAppReady() { // start monitoring user activity (needs to be started after the app is ready) userActivityMonitor.startMonitoring(); - if (shouldShowTrayIcon) { + if (shouldShowTrayIcon()) { // set up tray icon trayIcon = new Tray(trayImages.normal); if (process.platform === 'darwin') {