From 4d7f5ab4177164b27c3a22fb04f42a6623fd9070 Mon Sep 17 00:00:00 2001 From: Devin Binnie <52460000+devinbinnie@users.noreply.github.com> Date: Thu, 26 Sep 2019 13:51:24 -0400 Subject: [PATCH] [MM-18750] Fixed a typo that was causing tray icon to constantly show up (#1041) --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') {