misc(navigation) : add onDetailsClick on SpaceView
This commit is contained in:
parent
da95a4b838
commit
7f04a9fcf7
5 changed files with 23 additions and 0 deletions
|
|
@ -166,6 +166,9 @@ class JoinedRoomLoadedFlowNode(
|
|||
callbacks.forEach { it.onOpenRoom(roomId, viaParameters) }
|
||||
}
|
||||
|
||||
override fun onOpenDetails() {
|
||||
backstack.push(NavTarget.RoomDetails)
|
||||
}
|
||||
}
|
||||
return spaceEntryPoint.nodeBuilder(this, buildContext)
|
||||
.inputs(SpaceEntryPoint.Inputs(roomId = inputs.room.roomId))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue