Fix loosing osx dock and tray icons on window reopen (#6770)

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>

Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
Alex Andreev authored and GitHub committed 2022-12-16 08:21:45 -05:00
1 parent 579c9d58d7
commit 5f88f68859
1 file changed
+3 -1
@@ -18,7 +18,9 @@ const setupRunnablesAfterWindowIsOpenedInjectable = getInjectable({
return {
id: "setup-runnables-after-window-is-opened",
run: () => {
app.on("browser-window-created", () => afterWindowIsOpened);
app.on("browser-window-created", () => {
afterWindowIsOpened();
});
return undefined;
},