Browse Source

Templates. Desktop. Rename Screen to App

As in MPP template
pull/980/head
Igor Demin 3 years ago
parent
commit
f7395463d7
  1. 4
      templates/desktop-template/src/main/kotlin/main.kt

4
templates/desktop-template/src/main/kotlin/main.kt

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

Loading…
Cancel
Save