refactor: merge to Flexi UI and new usage

This commit is contained in:
2024-01-12 15:40:16 +08:00
parent b1738f5845
commit c3ae9d89cb
13 changed files with 99 additions and 89 deletions

View File

@@ -24,6 +24,6 @@ java {
compose.desktop {
application {
mainClass = "MainKt"
mainClass = "$group.MainKt"
}
}

View File

@@ -1,3 +1,5 @@
package __GROUP_NAME__
import androidx.compose.ui.unit.dp
import androidx.compose.ui.window.Window
import androidx.compose.ui.window.application
@@ -8,5 +10,5 @@ fun main() = application {
onCloseRequest = ::exitApplication,
title = "__APP_NAME__",
state = rememberWindowState(width = 550.dp, height = 450.dp)
) { MainView() }
) { App() }
}