|
|
@ -12,7 +12,7 @@ import androidx.compose.ui.window.application |
|
|
|
|
|
|
|
|
|
|
|
@Composable |
|
|
|
@Composable |
|
|
|
@Preview |
|
|
|
@Preview |
|
|
|
fun Screen() { |
|
|
|
fun App() { |
|
|
|
var text by remember { mutableStateOf("Hello, World!") } |
|
|
|
var text by remember { mutableStateOf("Hello, World!") } |
|
|
|
|
|
|
|
|
|
|
|
DesktopMaterialTheme { |
|
|
|
DesktopMaterialTheme { |
|
|
@ -26,6 +26,6 @@ fun Screen() { |
|
|
|
|
|
|
|
|
|
|
|
fun main() = application { |
|
|
|
fun main() = application { |
|
|
|
Window(onCloseRequest = ::exitApplication) { |
|
|
|
Window(onCloseRequest = ::exitApplication) { |
|
|
|
Screen() |
|
|
|
App() |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|