22 lines
495 B
Swift
22 lines
495 B
Swift
import SwiftUI
|
|
import SharedUI
|
|
|
|
@main
|
|
struct ComposeApp: App {
|
|
var body: some Scene {
|
|
WindowGroup {
|
|
ContentView().ignoresSafeArea(.all)
|
|
}
|
|
}
|
|
}
|
|
|
|
struct ContentView: UIViewControllerRepresentable {
|
|
func makeUIViewController(context: Context) -> UIViewController {
|
|
return MainKt.MainViewController()
|
|
}
|
|
|
|
func updateUIViewController(_ uiViewController: UIViewController, context: Context) {
|
|
// Updates will be handled by Compose
|
|
}
|
|
}
|