[MM-18750] Fixed a typo that was causing tray icon to constantly show up (#1041)
This commit is contained in:

committed by
Harrison Healey

parent
761ef8d0e6
commit
4d7f5ab417
@@ -494,7 +494,7 @@ function initializeAfterAppReady() {
|
|||||||
// start monitoring user activity (needs to be started after the app is ready)
|
// start monitoring user activity (needs to be started after the app is ready)
|
||||||
userActivityMonitor.startMonitoring();
|
userActivityMonitor.startMonitoring();
|
||||||
|
|
||||||
if (shouldShowTrayIcon) {
|
if (shouldShowTrayIcon()) {
|
||||||
// set up tray icon
|
// set up tray icon
|
||||||
trayIcon = new Tray(trayImages.normal);
|
trayIcon = new Tray(trayImages.normal);
|
||||||
if (process.platform === 'darwin') {
|
if (process.platform === 'darwin') {
|
||||||
|
Reference in New Issue
Block a user