fix: initialize userPreferences in preferencesManager

This commit is contained in:
Johnny Almonte
2020-06-24 00:31:47 -04:00
parent 0928e3944c
commit afe4512a0a

View File

@@ -25,6 +25,9 @@ export class PreferencesManager extends ApplicationService {
} }
streamPreferences() { streamPreferences() {
if (!this.userPreferences) {
this.loadSingleton();
}
this.application!.streamItems( this.application!.streamItems(
ContentType.UserPrefs, ContentType.UserPrefs,
() => { () => {