mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 02:45:53 +03:00
Fix another crash
This commit is contained in:
parent
32820f7893
commit
73dba2b692
1 changed files with 2 additions and 1 deletions
|
@ -29,6 +29,7 @@ import im.vector.app.core.epoxy.VectorEpoxyModel
|
|||
import im.vector.app.core.epoxy.onClick
|
||||
import im.vector.app.core.epoxy.util.preventMutation
|
||||
import im.vector.app.core.extensions.setTextOrHide
|
||||
import im.vector.app.features.displayname.getBestName
|
||||
import im.vector.app.features.home.AvatarRenderer
|
||||
import im.vector.app.features.home.room.detail.timeline.item.BindingOptions
|
||||
import im.vector.app.features.home.room.detail.timeline.tools.findPillsAndProcess
|
||||
|
@ -77,7 +78,7 @@ abstract class BottomSheetMessagePreviewItem : VectorEpoxyModel<BottomSheetMessa
|
|||
avatarRenderer.render(matrixItem, holder.avatar)
|
||||
holder.avatar.onClick(userClicked)
|
||||
holder.sender.onClick(userClicked)
|
||||
holder.sender.setTextOrHide(matrixItem.displayName)
|
||||
holder.sender.setTextOrHide(matrixItem.getBestName())
|
||||
data?.let {
|
||||
imageContentRenderer?.render(it, ImageContentRenderer.Mode.THUMBNAIL, holder.imagePreview)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue