Update src/javascript/configuration/configuration.ts

#48 Fix Typo
This commit is contained in:
Daniel 2020-12-28 23:40:12 +01:00 committed by GitHub
parent f29de7f826
commit 866d11a3d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ class Configuration {
callback(this.settingsCache.get(key)); callback(this.settingsCache.get(key));
} }
else { else {
// TODO see commenz // TODO see comment
// OOOPS // currently all settings are default true. This isn´t a problem but there should be much better soloutions after migration to typescript.... // OOOPS // currently all settings are default true. This isn´t a problem but there should be much better soloutions after migration to typescript....
getGlobalStorageProvider().getDataAsBoolean(key, true, value => { getGlobalStorageProvider().getDataAsBoolean(key, true, value => {
this.settingsCache.set(key, value); this.settingsCache.set(key, value);
@ -45,4 +45,4 @@ export function getGlobalConfiguration() {
} }
return __globalConfig; return __globalConfig;
} }