feat: add play/pause toggle on key press in TV player screen

This commit is contained in:
2026-04-07 16:58:18 +02:00
parent 4b0e02e017
commit 985fdec3a5

View File

@@ -165,6 +165,7 @@ fun TvPlayerScreen(
} }
Key.DirectionUp, Key.DirectionDown, Key.DirectionUp, Key.DirectionDown,
Key.DirectionCenter, Key.Enter -> { Key.DirectionCenter, Key.Enter -> {
viewModel.togglePlayPause()
viewModel.showControls() viewModel.showControls()
true true
} }