aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.js
diff options
context:
space:
mode:
authorLibravatar Bennett <hello@vantezzen.io>2020-04-05 08:00:30 +0200
committerLibravatar GitHub <noreply@github.com>2020-04-05 07:00:30 +0100
commitb09a04b4fec023a5b8293eaae8c77ebb50bf64be (patch)
tree6293e8106652406ae001979f6b972b5e0bcb24be /src/index.js
parentdocs: add mahadevans87 as a contributor (#539) (diff)
downloadferdium-app-b09a04b4fec023a5b8293eaae8c77ebb50bf64be.tar.gz
ferdium-app-b09a04b4fec023a5b8293eaae8c77ebb50bf64be.tar.zst
ferdium-app-b09a04b4fec023a5b8293eaae8c77ebb50bf64be.zip
#490 Add option to start Ferdi minimized (#534)
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js4
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};