diff --git a/apps/vbox/client/shared/src/androidMain/kotlin/ru/shadowsparky/vbox/shared/presentation/search/SearchScreen.android.kt b/apps/vbox/client/shared/src/androidMain/kotlin/ru/shadowsparky/vbox/shared/presentation/search/SearchScreen.android.kt index 604de7d..e9ae8f5 100644 --- a/apps/vbox/client/shared/src/androidMain/kotlin/ru/shadowsparky/vbox/shared/presentation/search/SearchScreen.android.kt +++ b/apps/vbox/client/shared/src/androidMain/kotlin/ru/shadowsparky/vbox/shared/presentation/search/SearchScreen.android.kt @@ -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 } } diff --git a/feature/video-player/src/commonMain/kotlin/ru/shadowsparky/videoplayer/ui/VideoPlayer.kt b/feature/video-player/src/commonMain/kotlin/ru/shadowsparky/videoplayer/ui/VideoPlayer.kt index 057807d..81c97da 100644 --- a/feature/video-player/src/commonMain/kotlin/ru/shadowsparky/videoplayer/ui/VideoPlayer.kt +++ b/feature/video-player/src/commonMain/kotlin/ru/shadowsparky/videoplayer/ui/VideoPlayer.kt @@ -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(),