Download video backgrounds setting; improved settings loading

This commit is contained in:
Geomitron
2021-04-10 15:52:39 -05:00
parent 0ddbd00f07
commit 0a1ba51f73
10 changed files with 75 additions and 28 deletions

View File

@@ -8,5 +8,10 @@ import { SettingsService } from './core/services/settings.service'
})
export class AppComponent {
constructor(private settingsService: SettingsService) { }
settingsLoaded = false
constructor(private settingsService: SettingsService) {
// Ensure settings are loaded before rendering the application
settingsService.loadSettings().then(() => this.settingsLoaded = true)
}
}