sdk (space) : use the new space/spaceUpdate api from space list
This commit is contained in:
parent
f3a9646db2
commit
dd2c9d4450
12 changed files with 38 additions and 128 deletions
|
|
@ -29,7 +29,6 @@ import kotlinx.collections.immutable.toPersistentSet
|
|||
import kotlinx.coroutines.CoroutineScope
|
||||
import kotlinx.coroutines.flow.map
|
||||
import kotlinx.coroutines.launch
|
||||
import java.util.Optional
|
||||
import kotlin.jvm.optionals.getOrNull
|
||||
|
||||
@Inject
|
||||
|
|
@ -66,7 +65,7 @@ class SpacePresenter(
|
|||
}
|
||||
}.collectAsState()
|
||||
|
||||
val currentSpace by remember { spaceRoomList.currentSpaceFlow() }.collectAsState(Optional.empty())
|
||||
val currentSpace by spaceRoomList.currentSpaceFlow.collectAsState()
|
||||
|
||||
fun handleEvents(event: SpaceEvents) {
|
||||
when (event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue