1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 00:33:44 +00:00

no variable needed for app.getLocale()

This commit is contained in:
Kyle Spearrin
2018-02-28 11:57:21 -05:00
parent 0e993285ab
commit cd80d68a80

View File

@@ -62,8 +62,7 @@ export class Main {
bootstrap() { bootstrap() {
this.windowMain.init().then(async () => { this.windowMain.init().then(async () => {
const locale = app.getLocale(); await this.i18nService.init(app.getLocale());
await this.i18nService.init(locale);
this.messagingMain.init(); this.messagingMain.init();
this.menuMain.init(); this.menuMain.init();
this.powerMonitorMain.init(); this.powerMonitorMain.init();