From 810dc5bc7e73a7a844854bb8218a40a8ef3dd9f0 Mon Sep 17 00:00:00 2001 From: Chris Knepper Date: Wed, 27 Jun 2018 22:15:31 -0400 Subject: [PATCH] -Remove extraneous comment --- src/background.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/background.js b/src/background.js index 56eac3ee..d96e4481 100644 --- a/src/background.js +++ b/src/background.js @@ -128,10 +128,6 @@ if (isSecondInstance) { mainWindow.on('minimize', (event) => { event.preventDefault(); - // TODO: Hide the window via mainWindow.hide() instead of minimizing? - // Hiding would allow the icon to disappear from the taskbar if it's not pinned, - // but if it's pinned, hidden, then clicked, results in a duplicate instance of the app... - // Possible solution: https://github.com/electron/electron/blob/v0.36.10/docs/api/app.md#appmakesingleinstancecallback mainWindow.hide(); }); }