diff --git a/examples/codeviewer/iosApp/iosApp/ContentView.swift b/examples/codeviewer/iosApp/iosApp/ContentView.swift index f7f6457b31..64e7056864 100644 --- a/examples/codeviewer/iosApp/iosApp/ContentView.swift +++ b/examples/codeviewer/iosApp/iosApp/ContentView.swift @@ -13,7 +13,7 @@ struct ComposeView: UIViewControllerRepresentable { struct ContentView: View { var body: some View { ComposeView() - .ignoresSafeArea(.keyboard) // Compose has own keyboard handler + .ignoresSafeArea(.all, edges: .bottom) // Compose has own keyboard handler } } diff --git a/examples/codeviewer/iosApp/iosApp/iOSApp.swift b/examples/codeviewer/iosApp/iosApp/iOSApp.swift index 0648e8602f..a116c5289f 100644 --- a/examples/codeviewer/iosApp/iosApp/iOSApp.swift +++ b/examples/codeviewer/iosApp/iosApp/iOSApp.swift @@ -4,7 +4,10 @@ import SwiftUI struct iOSApp: App { var body: some Scene { WindowGroup { - ContentView() + ZStack { + Color(#colorLiteral(red: 0.235, green: 0.247, blue: 0.255, alpha: 1)).ignoresSafeArea(.all) + ContentView() + }.preferredColorScheme(.dark) } } } \ No newline at end of file diff --git a/examples/codeviewer/shared/src/commonMain/kotlin/org/jetbrains/codeviewer/ui/statusbar/StatusBar.kt b/examples/codeviewer/shared/src/commonMain/kotlin/org/jetbrains/codeviewer/ui/statusbar/StatusBar.kt index d2e29c8d81..9eec90cfcd 100644 --- a/examples/codeviewer/shared/src/commonMain/kotlin/org/jetbrains/codeviewer/ui/statusbar/StatusBar.kt +++ b/examples/codeviewer/shared/src/commonMain/kotlin/org/jetbrains/codeviewer/ui/statusbar/StatusBar.kt @@ -18,9 +18,9 @@ private val MaxFontSize = 40.sp @Composable fun StatusBar(settings: Settings) = Box( Modifier + .padding(16.dp, 4.dp, 16.dp, 16.dp) .height(32.dp) .fillMaxWidth() - .padding(4.dp) ) { Row(Modifier.fillMaxHeight().align(Alignment.CenterEnd)) { Text(