diff --git a/src/common/config/defaultPreferences.js b/src/common/config/defaultPreferences.js index 0fb3c778..d8de17e4 100644 --- a/src/common/config/defaultPreferences.js +++ b/src/common/config/defaultPreferences.js @@ -9,9 +9,9 @@ const defaultPreferences = { version: 2, teams: [], - showTrayIcon: false, + showTrayIcon: true, trayIconTheme: 'light', - minimizeToTray: false, + minimizeToTray: true, notifications: { flashWindow: 2, bounceIcon: true, diff --git a/src/main.js b/src/main.js index e37c90f6..a28f8920 100644 --- a/src/main.js +++ b/src/main.js @@ -1145,10 +1145,7 @@ function getDeeplinkingURL(args) { } function shouldShowTrayIcon() { - if (process.platform === 'win32') { - return true; - } - if (['darwin', 'linux'].includes(process.platform) && config.showTrayIcon === true) { + if (config.showTrayIcon === true || process.platform === 'win32') { return true; } return false;