Room profile: open it also when clicking on the room avatar

This commit is contained in:
Benoit Marty 2020-01-17 10:15:04 +01:00
parent 8c2a55a5a2
commit 5148d7ab46
1 changed files with 1 additions and 0 deletions

View File

@ -42,6 +42,7 @@ abstract class BottomSheetRoomPreviewItem : VectorEpoxyModel<BottomSheetRoomPrev
override fun bind(holder: Holder) {
avatarRenderer.render(matrixItem, holder.avatar)
holder.avatar.setOnClickListener(settingsClickListener)
holder.roomName.setTextOrHide(matrixItem.displayName)
holder.roomSettings.setOnClickListener(settingsClickListener)
}