From 0055541b61e2bfd2633f2a1172d3be62160edde7 Mon Sep 17 00:00:00 2001 From: akurasov <86794754+akurasov@users.noreply.github.com> Date: Wed, 3 Nov 2021 18:36:01 +0300 Subject: [PATCH] fixing misprint --- tutorials/Window_API_new/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tutorials/Window_API_new/README.md b/tutorials/Window_API_new/README.md index 0ee87259ca..4c1bddcb43 100644 --- a/tutorials/Window_API_new/README.md +++ b/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.application 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.onEach @@ -407,7 +407,7 @@ fun main() = application { .launchIn(this) snapshotFlow { state.position } - .filterNot { it.isSpecified } + .filter { it.isSpecified } .onEach(::onWindowRelocate) .launchIn(this) }