fix provider check

This commit is contained in:
Eugenio Romano
2018-06-20 12:43:09 +01:00
parent ebbf4c30a0
commit 131be43ba5

View File

@@ -73,6 +73,8 @@ export class SettingsService {
/** @deprecated in 1.7.0 */
public setProviders(providers: string) {
this.logService.log(`SettingsService.aetProviders is deprecated. Use the app-config.json`);
this.storage.setItem(AppConfigValues.PROVIDERS, providers);
if (providers) {
this.storage.setItem(AppConfigValues.PROVIDERS, providers);
}
}
}