mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
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:
committed by
GitHub
parent
9ee40c4fca
commit
2a2073fce0
+1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user