mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
misc(navigation) : add onDetailsClick on SpaceView
This commit is contained in:
+3
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user