mobile-wallet/cmp-ios/iosApp/ContentView.swift
Hekmatullah fd3fc4c302
chore: rename mifospay-* modules to cmp-* (#1893)
Co-authored-by: Sk Niyaj Ali <niyaj639@gmail.com>
2025-07-28 12:03:45 +05:30

22 lines
488 B
Swift

import UIKit
import SwiftUI
import ComposeApp
struct ComposeView: UIViewControllerRepresentable {
func makeUIViewController(context: Context) -> UIViewController {
MifosViewControllerKt.MifosViewController()
}
func updateUIViewController(_ uiViewController: UIViewController, context: Context) {}
}
struct ContentView: View {
var body: some View {
ComposeView()
.ignoresSafeArea(.keyboard) // Compose has own keyboard handler
}
}