diff options
author | 2021-01-06 01:05:59 +0100 | |
---|---|---|
committer | 2021-01-06 01:05:59 +0100 | |
commit | 65ca2e4582c85341a4ff77d1a6717f9a25542dab (patch) | |
tree | 610b39c60b2b5439b560ef722f73222d52ddc6d6 /src/index.js | |
parent | docs: add 1mm0rt41PC as a contributor (#1146) (diff) | |
download | ferdium-app-65ca2e4582c85341a4ff77d1a6717f9a25542dab.tar.gz ferdium-app-65ca2e4582c85341a4ff77d1a6717f9a25542dab.tar.zst ferdium-app-65ca2e4582c85341a4ff77d1a6717f9a25542dab.zip |
Add new setting to minimize to tray when closing on Windows (#1093)
Co-authored-by: Amine El Mouafik <amine@mouafik.fr>
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index 928a9744e..cce8d8ea0 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -272,7 +272,7 @@ const createWindow = () => { | |||
272 | debug('Window: minimize'); | 272 | debug('Window: minimize'); |
273 | mainWindow.minimize(); | 273 | mainWindow.minimize(); |
274 | 274 | ||
275 | if (settings.get('minimizeToSystemTray')) { | 275 | if (settings.get('closeToSystemTray')) { |
276 | debug('Skip taskbar: true'); | 276 | debug('Skip taskbar: true'); |
277 | mainWindow.setSkipTaskbar(true); | 277 | mainWindow.setSkipTaskbar(true); |
278 | } | 278 | } |