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
|
|
@ -94,9 +94,7 @@ class JoinRoomPresenter(
|
|||
val roomInfo by remember {
|
||||
matrixClient.getRoomInfoFlow(roomId)
|
||||
}.collectAsState(initial = Optional.empty())
|
||||
val spaceRoom by remember {
|
||||
spaceList.currentSpaceFlow()
|
||||
}.collectAsState()
|
||||
val spaceRoom by spaceList.currentSpaceFlow.collectAsState()
|
||||
val joinAction: MutableState<AsyncAction<Unit>> = remember { mutableStateOf(AsyncAction.Uninitialized) }
|
||||
val knockAction: MutableState<AsyncAction<Unit>> = remember { mutableStateOf(AsyncAction.Uninitialized) }
|
||||
val cancelKnockAction: MutableState<AsyncAction<Unit>> = remember { mutableStateOf(AsyncAction.Uninitialized) }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue