mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
1 parent
aac4eb1a3e
commit
a2c39358ef
1 file changed
+2
-2
@@ -130,11 +130,11 @@ export class WindowManager {
|
|||||||
await callback(this.mainWindow);
|
await callback(this.mainWindow);
|
||||||
} else {
|
} else {
|
||||||
this.ensureTrayWindow();
|
this.ensureTrayWindow();
|
||||||
if (this.mainWindow) this.mainWindow.hide();
|
this.mainWindow?.hide();
|
||||||
this.trayWindow.show();
|
this.trayWindow.show();
|
||||||
await callback(this.trayWindow);
|
await callback(this.trayWindow);
|
||||||
this.trayWindow.hide();
|
this.trayWindow.hide();
|
||||||
if (this.mainWindow) this.mainWindow.hide();
|
this.mainWindow?.show();
|
||||||
app.hide();
|
app.hide();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user