1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-02 13:23:29 +01: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();