mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-23 19:26:50 +00:00
feat: add play/pause toggle on key press in TV player screen
This commit is contained in:
@@ -165,6 +165,7 @@ fun TvPlayerScreen(
|
||||
}
|
||||
Key.DirectionUp, Key.DirectionDown,
|
||||
Key.DirectionCenter, Key.Enter -> {
|
||||
viewModel.togglePlayPause()
|
||||
viewModel.showControls()
|
||||
true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user