1
0
mirror of https://github.com/bitwarden/directory-connector synced 2025-12-20 02:03:21 +00:00

wire up message service to menu

This commit is contained in:
Kyle Spearrin
2018-04-26 16:00:47 -04:00
parent 99c7f619e0
commit b0705a911d
4 changed files with 15 additions and 13 deletions

View File

@@ -51,8 +51,8 @@ export class Main {
this.storageService = new ElectronStorageService();
this.windowMain = new WindowMain(this.storageService);
this.messagingMain = new MessagingMain(this.windowMain);
this.menuMain = new MenuMain(this);
this.messagingMain = new MessagingMain(this.windowMain, this.menuMain);
this.messagingService = new ElectronMainMessagingService(this.windowMain, (message) => {
this.messagingMain.onMessage(message);
});