refactor(setting): adjust setting module to new core translation

Closes #53
This commit is contained in:
Sebastian Lange
2019-02-26 08:22:49 +01:00
parent 24dbb42b34
commit 49b7c6d383
12 changed files with 9876 additions and 545 deletions

View File

@@ -36,7 +36,7 @@ export class AppComponent {
/**
* TODO
*/
component: any;
component: unknown;
/**
* TODO
*/
@@ -44,7 +44,7 @@ export class AppComponent {
}>;
/**
*
*
* @param platform TODO
* @param statusBar TODO
* @param splashScreen TODO
@@ -97,7 +97,7 @@ export class AppComponent {
try {
// set language from settings
const languageCode = await this.settingsProvider.getValue('profile', 'language');
const languageCode = (await this.settingsProvider.getValue('profile', 'language')) as string;
this.translateService.use(languageCode);
} catch (error) {
Logger.warn(error);