This repository has been archived on 2024-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
Sebastian Aigner c7d2402619 Add explicit place to change the status bar color
Make it so that Compose stretches to the bottom of the screen (no white border)
2023-05-23 16:57:02 +02:00

22 lines
483 B
Swift

import UIKit
import SwiftUI
import shared
struct ComposeView: UIViewControllerRepresentable {
func makeUIViewController(context: Context) -> UIViewController {
Main_iosKt.MainViewController()
}
func updateUIViewController(_ uiViewController: UIViewController, context: Context) {}
}
struct ContentView: View {
var body: some View {
ComposeView()
.ignoresSafeArea(.all, edges: .bottom) // Compose has own keyboard handler
}
}