mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-23 19:26:50 +00:00
Consolidate Back and Escape key handling in the existing BackHandler composable and remove the redundant branch from handleTvPlayerRootKeyEvent. The BackHandler already implements the same panel/playlist/controls dismissal chain and adds the missing onBack() fallback for system navigation. Drop the now-unused parameters (isPlaylistExpanded, trackPanelType, onCloseTrackPanel, onCollapsePlaylist, onHideControls) from both the function and its call site.