mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 16:23:44 +00:00
Merge branch 'master' of https://github.com/bitwarden/desktop into feature/browser-communication
# Conflicts: # src/locales/en/messages.json
This commit is contained in:
@@ -157,6 +157,14 @@ export class Main {
|
||||
event.preventDefault();
|
||||
this.processDeepLink([url]);
|
||||
});
|
||||
|
||||
// Handle window visibility events
|
||||
this.windowMain.win.on('hide', () => {
|
||||
this.messagingService.send('windowHidden');
|
||||
});
|
||||
this.windowMain.win.on('minimize', () => {
|
||||
this.messagingService.send('windowHidden');
|
||||
});
|
||||
}, (e: any) => {
|
||||
// tslint:disable-next-line
|
||||
console.error(e);
|
||||
|
||||
Reference in New Issue
Block a user