add complete black background in videoscreen, don't handle all keys in search screen

This commit is contained in:
2026-08-17 18:24:49 +03:00
parent 0243466cf1
commit 4eeda5e2ee
2 changed files with 3 additions and 2 deletions
@@ -13,8 +13,9 @@ actual fun Modifier.requestFocusOnDownEvent(focusRequester: FocusRequester): Mod
if (it.type == KeyEventType.KeyUp) { if (it.type == KeyEventType.KeyUp) {
if (it.key == Key.DirectionDown) { if (it.key == Key.DirectionDown) {
focusRequester.requestFocus() focusRequester.requestFocus()
return@onKeyEvent true
} }
} }
true false
} }
} }
@@ -114,7 +114,7 @@ fun VideoPlayer(
) )
} }
Box(modifier = rootModifier.background(Color.Black)) { Box(modifier = rootModifier.fillMaxSize().background(Color.Black)) {
VideoCanvas( VideoCanvas(
controller = controller, controller = controller,
modifier = rootModifier.fillMaxSize(), modifier = rootModifier.fillMaxSize(),