Room list: tweak UI and add overflow menu with report bug and invite friends action.
Extract invite friends action to a use case to avoid copy paste.
This commit is contained in:
parent
710c3b279a
commit
4d0f58568f
12 changed files with 180 additions and 38 deletions
|
|
@ -222,6 +222,10 @@ class LoggedInFlowNode @AssistedInject constructor(
|
|||
override fun onRoomSettingsClicked(roomId: RoomId) {
|
||||
backstack.push(NavTarget.Room(roomId, initialElement = RoomFlowNode.NavTarget.RoomDetails))
|
||||
}
|
||||
|
||||
override fun onReportBugClicked() {
|
||||
plugins<Callback>().forEach { it.onOpenBugReport() }
|
||||
}
|
||||
}
|
||||
roomListEntryPoint
|
||||
.nodeBuilder(this, buildContext)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue