mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-07 11:09:53 +08:00
feat: update demo
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
@@ -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() }
|
Reference in New Issue
Block a user