mirror of
https://github.com/bbara04/Purefin.git
synced 2026-07-24 03:36:51 +00:00
Refine TV player inline playlist flow
Move the TV player queue into a simplified bottom inline playlist row and keep the existing seek bar -> controls -> playlist navigation hierarchy. Focus playlist entry on the current queue item, keep focus pinned on the row at the horizontal edges, and return to the controls row on Up/Back. Add compose coverage for playlist expansion, current-item focus, fallback focus, and row edge navigation.
This commit is contained in:
@@ -203,7 +203,11 @@ class PlayerViewModel @Inject constructor(
|
||||
|
||||
fun toggleControlsVisibility() {
|
||||
_controlsVisible.value = !_controlsVisible.value
|
||||
if (_controlsVisible.value) scheduleAutoHide(DEFAULT_CONTROLS_AUTO_HIDE_MS)
|
||||
if (_controlsVisible.value) {
|
||||
scheduleAutoHide(DEFAULT_CONTROLS_AUTO_HIDE_MS)
|
||||
} else {
|
||||
autoHideJob?.cancel()
|
||||
}
|
||||
}
|
||||
|
||||
private fun scheduleAutoHide(autoHideDelayMs: Long) {
|
||||
|
||||
Reference in New Issue
Block a user