fix(playback): hide video controls while the error overlay is shown

Tapping the player while the codec-not-supported overlay is up would still
toggle the gradients/buttons in. Gate the controls block on a clear error
state so the overlay stays the only thing on screen.
This commit is contained in:
Claude
2026-05-27 15:13:25 +00:00
parent 89607376cc
commit b2c76b7428
@@ -142,7 +142,7 @@ fun RenderVideoPlayer(
hasBlurhash = hasBlurhash,
)
if (showControls) {
if (showControls && controllerState.playbackError.value == null) {
TopGradientOverlay(
controllerVisible = controllerVisible,
modifier = Modifier.align(Alignment.TopCenter),