Skip to content

Commit

Permalink
-Remove extraneous comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisknepper committed Jun 28, 2018
1 parent 166ebe0 commit 810dc5b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
});
}
Expand Down

0 comments on commit 810dc5b

Please sign in to comment.