Browse Source

fixing misprint

pull/1353/head
akurasov 3 years ago committed by GitHub
parent
commit
0055541b61
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

@ -391,7 +391,7 @@ import androidx.compose.ui.window.Window
import androidx.compose.ui.window.WindowPosition import androidx.compose.ui.window.WindowPosition
import androidx.compose.ui.window.application import androidx.compose.ui.window.application
import androidx.compose.ui.window.rememberWindowState import androidx.compose.ui.window.rememberWindowState
import kotlinx.coroutines.flow.filterNot import kotlinx.coroutines.flow.filter
import kotlinx.coroutines.flow.launchIn import kotlinx.coroutines.flow.launchIn
import kotlinx.coroutines.flow.onEach import kotlinx.coroutines.flow.onEach
@ -407,7 +407,7 @@ fun main() = application {
.launchIn(this) .launchIn(this)
snapshotFlow { state.position } snapshotFlow { state.position }
.filterNot { it.isSpecified } .filter { it.isSpecified }
.onEach(::onWindowRelocate) .onEach(::onWindowRelocate)
.launchIn(this) .launchIn(this)
} }

Loading…
Cancel
Save