ChatMessagesAdapter: post-merge fix
This commit is contained in:
parent
781586a009
commit
9d41527168
@ -130,10 +130,10 @@ class ChatMessagesViewHolder(view: View) : RecyclerView.ViewHolder(view) {
|
||||
} else {
|
||||
attachmentLayout.visibility = View.VISIBLE
|
||||
|
||||
val previewUrl: String = attachment.previewUrl
|
||||
val description: String? = attachment.description
|
||||
val previewUrl = attachment.previewUrl
|
||||
val description = attachment.description
|
||||
|
||||
if(description != null && TextUtils.isEmpty(description) ) {
|
||||
if(TextUtils.isEmpty(description)) {
|
||||
attachmentView.contentDescription = description
|
||||
} else {
|
||||
attachmentView.contentDescription = attachmentView.context
|
||||
|
Loading…
Reference in New Issue
Block a user