1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

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 2022-12-16 16:21:45 +03:00 committed by GitHub
parent 579c9d58d7
commit 5f88f68859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
},