mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
small fix
Signed-off-by: Roman <ixrock@gmail.com>
This commit is contained in:
parent
aac4eb1a3e
commit
a2c39358ef
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user