ov-components: move loading state update to ngAfterContentChecked lifecycle hook

master
Carlos Santos 2025-03-12 18:28:47 +01:00
parent a64cf1d577
commit 6f97b9d8c2
1 changed files with 1 additions and 1 deletions

View File

@ -77,11 +77,11 @@ export class PreJoinComponent implements OnInit, OnDestroy {
this.subscribeToPrejoinDirectives(); this.subscribeToPrejoinDirectives();
await this.initializeDevices(); await this.initializeDevices();
this.windowSize = window.innerWidth; this.windowSize = window.innerWidth;
this.isLoading = false;
} }
ngAfterContentChecked(): void { ngAfterContentChecked(): void {
this.changeDetector.detectChanges(); this.changeDetector.detectChanges();
this.isLoading = false;
} }
async ngOnDestroy() { async ngOnDestroy() {