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);
|
||||
} else {
|
||||
this.ensureTrayWindow();
|
||||
if (this.mainWindow) this.mainWindow.hide();
|
||||
this.mainWindow?.hide();
|
||||
this.trayWindow.show();
|
||||
await callback(this.trayWindow);
|
||||
this.trayWindow.hide();
|
||||
if (this.mainWindow) this.mainWindow.hide();
|
||||
this.mainWindow?.show();
|
||||
app.hide();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user