mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-23 19:26:50 +00:00
The root Box's onPreviewKeyEvent consumed KeyDown for D-pad center/Enter in handleTvPlayerRootKeyEvent, pausing or resuming playback and returning true before the event reached the focused next-episode overlay. Pressing center on the overlay therefore paused playback instead of starting the next episode. Add a popupVisible flag so the root handler returns false for center/Enter when a focusable overlay (skip intro / next episode) is shown, letting the event propagate to the overlay's clickable. The skip-intro action is preserved because the visible skip button now handles activation through its own clickable. Drop the now-unused onSkipSegment/hasSkippableSegment parameters and the redundant focusable modifier on TvNextEpisodeOverlay (clickable already makes it focusable).