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 Sebastian Malton
parent b66fa355d4
commit 6f2c83aeb6

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