catch exceptions thrown at showing big message attachments
This commit is contained in:
parent
5f728c9321
commit
c850b4d7f3
|
@ -384,7 +384,11 @@ class ThreadAdapter(
|
|||
builder.override(attachment.width, attachment.height)
|
||||
}
|
||||
|
||||
try {
|
||||
builder.into(imageView.attachment_image)
|
||||
} catch (ignore: Exception) {
|
||||
}
|
||||
|
||||
imageView.attachment_image.setOnClickListener {
|
||||
if (actModeCallback.isSelectable) {
|
||||
holder.viewClicked(message)
|
||||
|
|
Loading…
Reference in New Issue