1
0
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:
Hinton
2020-11-13 15:34:57 +01:00
59 changed files with 2218 additions and 284 deletions

View File

@@ -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);