diff --git a/src/app/play/play.component.ts b/src/app/play/play.component.ts index 32da9156aedf3d206b3f5f6161d0f1c6ed662d75..2bd81895630f77133c053253d8ef7a488016f3b9 100644 --- a/src/app/play/play.component.ts +++ b/src/app/play/play.component.ts @@ -106,10 +106,16 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges { this.isPlaying = true; } } + this.changeDetectorRef.markForCheck(); + this.changeDetectorRef.detectChanges(); + this.refresh(); } lcDisplayText() { this._lc_text = this.data.contentObj.text || ''; + this.changeDetectorRef.markForCheck(); + this.changeDetectorRef.detectChanges(); + this.refresh(); } handleTap(ev, item) { @@ -123,6 +129,9 @@ export class PlayComponent implements OnInit, OnDestroy, OnChanges { item.state = ''; }, 1500); } + this.changeDetectorRef.markForCheck(); + this.changeDetectorRef.detectChanges(); + this.refresh(); } refresh() {