Room profile: open it also when clicking on the room avatar
This commit is contained in:
parent
8c2a55a5a2
commit
5148d7ab46
|
@ -42,6 +42,7 @@ abstract class BottomSheetRoomPreviewItem : VectorEpoxyModel<BottomSheetRoomPrev
|
||||||
|
|
||||||
override fun bind(holder: Holder) {
|
override fun bind(holder: Holder) {
|
||||||
avatarRenderer.render(matrixItem, holder.avatar)
|
avatarRenderer.render(matrixItem, holder.avatar)
|
||||||
|
holder.avatar.setOnClickListener(settingsClickListener)
|
||||||
holder.roomName.setTextOrHide(matrixItem.displayName)
|
holder.roomName.setTextOrHide(matrixItem.displayName)
|
||||||
holder.roomSettings.setOnClickListener(settingsClickListener)
|
holder.roomSettings.setOnClickListener(settingsClickListener)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue