@ -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
}
@ -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)
}.preferredColorScheme(.dark)
@ -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(