1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

init menu after app ready

This commit is contained in:
Kyle Spearrin
2018-02-10 11:58:14 -05:00
parent 214d8f7ae8
commit 884eefd589
4 changed files with 39 additions and 33 deletions

View File

@@ -19,10 +19,10 @@ const windowMain = new WindowMain(dev);
const messagingMain = new MessagingMain(windowMain);
const menuMain = new MenuMain(windowMain, i18nService);
windowMain.init();
messagingMain.init();
i18nService.init().then(() => {
windowMain.init().then(() => {
messagingMain.init();
return i18nService.init();
}).then(() => {
menuMain.init();
}, (e: any) => {
console.log(e);