From cd80d68a80a37810362182220c8f668ec5854c06 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 28 Feb 2018 11:57:21 -0500 Subject: [PATCH] no variable needed for app.getLocale() --- src/main.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main.ts b/src/main.ts index b38f1a2a600..4685d73d027 100644 --- a/src/main.ts +++ b/src/main.ts @@ -62,8 +62,7 @@ export class Main { bootstrap() { this.windowMain.init().then(async () => { - const locale = app.getLocale(); - await this.i18nService.init(locale); + await this.i18nService.init(app.getLocale()); this.messagingMain.init(); this.menuMain.init(); this.powerMonitorMain.init();