diff --git a/src/app/player/components/info-overlay/info-overlay.component.ts b/src/app/player/components/info-overlay/info-overlay.component.ts index 4f6510e24..04d7741b2 100644 --- a/src/app/player/components/info-overlay/info-overlay.component.ts +++ b/src/app/player/components/info-overlay/info-overlay.component.ts @@ -38,18 +38,14 @@ export class InfoOverlayComponent implements OnChanges { * @param changes component input changes */ ngOnChanges(changes: SimpleChanges): void { - if (changes.channel && !changes.channel.firstChange) { + if (changes.channel) { clearTimeout(this.currentTimeout); this.isVisible = true; this.currentTimeout = setTimeout(() => { this.isVisible = false; }, 4000); } - if ( - changes.epgProgram && - changes.epgProgram.currentValue && - !changes.epgProgram.firstChange - ) { + if (changes.epgProgram && changes.epgProgram.currentValue) { const { stop, start } = changes.epgProgram.currentValue; this.setProgramDuration(start, stop); }