Browse Source

Update README.md

pull/996/head
Igor Demin 3 years ago committed by GitHub
parent
commit
5236ec5706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      tutorials/Window_API_new/README.md

4
tutorials/Window_API_new/README.md

@ -534,7 +534,7 @@ import androidx.compose.ui.window.Window
import androidx.compose.ui.window.application import androidx.compose.ui.window.application
fun main() = application { fun main() = application {
Window(onCloseRequest = ::exitApplication) { Window(onCloseRequest = ::exitApplication, undecorated = true) {
WindowDraggableArea { WindowDraggableArea {
Box(Modifier.fillMaxWidth().height(48.dp).background(Color.DarkGray)) Box(Modifier.fillMaxWidth().height(48.dp).background(Color.DarkGray))
} }
@ -557,7 +557,7 @@ import androidx.compose.ui.window.WindowScope
import androidx.compose.ui.window.application import androidx.compose.ui.window.application
fun main() = application { fun main() = application {
Window(onCloseRequest = ::exitApplication) { Window(onCloseRequest = ::exitApplication, undecorated = true) {
AppWindowTitleBar() AppWindowTitleBar()
} }
} }

Loading…
Cancel
Save