diff options
author | 2020-04-05 08:00:30 +0200 | |
---|---|---|
committer | 2020-04-05 07:00:30 +0100 | |
commit | b09a04b4fec023a5b8293eaae8c77ebb50bf64be (patch) | |
tree | 6293e8106652406ae001979f6b972b5e0bcb24be /src/index.js | |
parent | docs: add mahadevans87 as a contributor (#539) (diff) | |
download | ferdium-app-b09a04b4fec023a5b8293eaae8c77ebb50bf64be.tar.gz ferdium-app-b09a04b4fec023a5b8293eaae8c77ebb50bf64be.tar.zst ferdium-app-b09a04b4fec023a5b8293eaae8c77ebb50bf64be.zip |
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js index 167d3897a..4da000f69 100644 --- a/src/index.js +++ b/src/index.js | |||
@@ -308,7 +308,9 @@ const createWindow = () => { | |||
308 | } | 308 | } |
309 | }); | 309 | }); |
310 | 310 | ||
311 | if (!(settings.get('enableSystemTray') && settings.get('startMinimized'))) { | 311 | if (settings.get('startMinimized')) { |
312 | mainWindow.hide(); | ||
313 | } else { | ||
312 | mainWindow.show(); | 314 | mainWindow.show(); |
313 | } | 315 | } |
314 | }; | 316 | }; |