[MM-18750] Fixed a typo that was causing tray icon to constantly show up (#1041)

This commit is contained in:
Devin Binnie 2019-09-26 13:51:24 -04:00 committed by Harrison Healey
parent 761ef8d0e6
commit 4d7f5ab417

View file

@ -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') {