mirror of
https://github.com/BetterAndroid/FlexiUI.git
synced 2025-09-09 12:04:11 +08:00
feat: update demo
This commit is contained in:
@@ -22,9 +22,9 @@
|
||||
@file:Suppress("unused")
|
||||
|
||||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.window.ComposeUIViewController
|
||||
import com.highcapable.betterandroid.compose.multiplatform.platform.AppComponentUIViewController
|
||||
|
||||
fun createUIViewController() = ComposeUIViewController { MainView() }
|
||||
fun createUIViewController() = AppComponentUIViewController { MainView() }
|
||||
|
||||
@Composable
|
||||
fun MainView() = App()
|
Reference in New Issue
Block a user