1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

wire up internal messaging for safari app

This commit is contained in:
Kyle Spearrin
2019-08-15 16:36:49 -04:00
parent 3e27b3634e
commit 06234f6b23
6 changed files with 16 additions and 5 deletions

View File

@@ -133,7 +133,7 @@ export class AppComponent implements OnInit {
}
};
BrowserApi.messageListener((window as any).bitwardenPopupMainMessageListener);
BrowserApi.messageListener('app.component', (window as any).bitwardenPopupMainMessageListener);
this.router.events.subscribe((event) => {
if (event instanceof NavigationEnd) {