mirror of
https://github.com/Myxelium/Bridge-Multi.git
synced 2026-04-11 22:29:38 +00:00
19 lines
446 B
TypeScript
19 lines
446 B
TypeScript
import { Component } from '@angular/core'
|
|
|
|
import { SettingsService } from './core/services/settings.service'
|
|
|
|
@Component({
|
|
selector: 'app-root',
|
|
templateUrl: './app.component.html',
|
|
styles: [],
|
|
})
|
|
export class AppComponent {
|
|
|
|
settingsLoaded = false
|
|
|
|
constructor(settingsService: SettingsService) {
|
|
// Ensure settings are loaded before rendering the application
|
|
settingsService.loadSettings().then(() => this.settingsLoaded = true)
|
|
}
|
|
}
|