refactor(tvplayer): remove unused isPlaying parameter from key event handler

This commit is contained in:
2026-06-20 18:04:28 +02:00
parent 6e48b35741
commit 0fc4644fdb

View File

@@ -244,7 +244,6 @@ fun TvPlayerScreen(
.onPreviewKeyEvent { event -> .onPreviewKeyEvent { event ->
val handled = handleTvPlayerRootKeyEvent( val handled = handleTvPlayerRootKeyEvent(
event = event, event = event,
isPlaying = uiState.isPlaying,
controlsVisible = controlsVisible, controlsVisible = controlsVisible,
popupVisible = showSkipIntroButton || showNextEpisodeOverlay, popupVisible = showSkipIntroButton || showNextEpisodeOverlay,
onShowControls = ::showControls, onShowControls = ::showControls,
@@ -467,7 +466,6 @@ private fun HiddenTvSeekTimeline(
internal fun handleTvPlayerRootKeyEvent( internal fun handleTvPlayerRootKeyEvent(
event: KeyEvent, event: KeyEvent,
isPlaying: Boolean,
controlsVisible: Boolean, controlsVisible: Boolean,
popupVisible: Boolean, popupVisible: Boolean,
isPlaylistExpanded: Boolean, isPlaylistExpanded: Boolean,