Fix back navigation after creating a room in a space (#6134)
* Fix back navigation after creating a room in a space Previously, this displayed the 'invite users to the room' screen instead of going back to the parent space screen
This commit is contained in:
parent
22e60bf3c6
commit
2e1153cd7b
1 changed files with 1 additions and 0 deletions
|
|
@ -177,6 +177,7 @@ class SpaceFlowNode(
|
||||||
// Reset the room list in the space so this new room is displayed
|
// Reset the room list in the space so this new room is displayed
|
||||||
lifecycleScope.launch { spaceRoomList.reset() }
|
lifecycleScope.launch { spaceRoomList.reset() }
|
||||||
callback.navigateToRoom(roomId, emptyList())
|
callback.navigateToRoom(roomId, emptyList())
|
||||||
|
backstack.pop()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
createRoomEntryPoint
|
createRoomEntryPoint
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue