mirror of
https://github.com/jlengrand/compose-multiplatform.git
synced 2026-03-10 08:11:20 +00:00
fixing misprint
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user