mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-23 19:26:50 +00:00
refactor(tvplayer): remove unused isPlaying parameter from key event handler
This commit is contained in:
@@ -244,7 +244,6 @@ fun TvPlayerScreen(
|
||||
.onPreviewKeyEvent { event ->
|
||||
val handled = handleTvPlayerRootKeyEvent(
|
||||
event = event,
|
||||
isPlaying = uiState.isPlaying,
|
||||
controlsVisible = controlsVisible,
|
||||
popupVisible = showSkipIntroButton || showNextEpisodeOverlay,
|
||||
onShowControls = ::showControls,
|
||||
@@ -467,7 +466,6 @@ private fun HiddenTvSeekTimeline(
|
||||
|
||||
internal fun handleTvPlayerRootKeyEvent(
|
||||
event: KeyEvent,
|
||||
isPlaying: Boolean,
|
||||
controlsVisible: Boolean,
|
||||
popupVisible: Boolean,
|
||||
isPlaylistExpanded: Boolean,
|
||||
|
||||
Reference in New Issue
Block a user