add complete black background in videoscreen, don't handle all keys in search screen
This commit is contained in:
+2
-1
@@ -13,8 +13,9 @@ actual fun Modifier.requestFocusOnDownEvent(focusRequester: FocusRequester): Mod
|
||||
if (it.type == KeyEventType.KeyUp) {
|
||||
if (it.key == Key.DirectionDown) {
|
||||
focusRequester.requestFocus()
|
||||
return@onKeyEvent true
|
||||
}
|
||||
}
|
||||
true
|
||||
false
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -114,7 +114,7 @@ fun VideoPlayer(
|
||||
)
|
||||
}
|
||||
|
||||
Box(modifier = rootModifier.background(Color.Black)) {
|
||||
Box(modifier = rootModifier.fillMaxSize().background(Color.Black)) {
|
||||
VideoCanvas(
|
||||
controller = controller,
|
||||
modifier = rootModifier.fillMaxSize(),
|
||||
|
||||
Reference in New Issue
Block a user