mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Handle main window hide
This commit is contained in:
@@ -149,6 +149,9 @@ export class Main {
|
||||
event.preventDefault();
|
||||
this.processDeepLink([url]);
|
||||
});
|
||||
|
||||
// Handle visibility event(s)
|
||||
this.windowMain.win.on('hide', () => this.messagingService.send('hideMain'));
|
||||
}, (e: any) => {
|
||||
// tslint:disable-next-line
|
||||
console.error(e);
|
||||
|
||||
Reference in New Issue
Block a user