fix(player): adjust subtitle bottom padding when controls visible

Increase TV controls-visible subtitle bottom padding fraction from 0.22 to 0.31 and update PlayerScreen to reapply player and subtitle padding on recomposition.
This commit is contained in:
2026-07-18 18:43:38 +00:00
parent e6da94970a
commit 37bf64f5f8
2 changed files with 5 additions and 1 deletions

View File

@@ -150,6 +150,10 @@ fun PlayerScreen(
subtitleView?.setBottomPaddingFraction(subtitleBottomPaddingFraction)
}
},
update = {
it.player = viewModel.player
it.subtitleView?.setBottomPaddingFraction(subtitleBottomPaddingFraction)
},
onRelease = { playerView ->
playerView.player = null
},