feat: update demo

This commit is contained in:
2024-01-12 12:36:20 +08:00
parent b35786c57f
commit aba1c4f56e
2 changed files with 2 additions and 2 deletions

View File

@@ -8,7 +8,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = UIViewControllerKt.createUIViewController()
window?.rootViewController = MainViewControllerKt.createMainViewController()
window?.makeKeyAndVisible()
return true
}

View File

@@ -24,4 +24,4 @@
import com.highcapable.betterandroid.compose.multiplatform.platform.AppComponentUIViewController
import com.highcapable.flexiui.demo.App
fun createUIViewController() = AppComponentUIViewController { App() }
fun createMainViewController() = AppComponentUIViewController { App() }