[MM-18750] Fixed a typo that was causing tray icon to constantly show up (#1041)
This commit is contained in:
parent
761ef8d0e6
commit
4d7f5ab417
|
@ -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') {
|
||||
|
|
Loading…
Reference in a new issue