adding some crashfixes
This commit is contained in:
parent
8e843eece1
commit
18026c473f
2 changed files with 7 additions and 4 deletions
|
|
@ -657,6 +657,10 @@ class ThreadActivity : SimpleActivity() {
|
|||
}
|
||||
|
||||
private fun loadAttachmentPreview(attachmentView: View, uri: Uri) {
|
||||
if (isDestroyed || isFinishing) {
|
||||
return
|
||||
}
|
||||
|
||||
val roundedCornersRadius = resources.getDimension(R.dimen.medium_margin).toInt()
|
||||
val options = RequestOptions()
|
||||
.diskCacheStrategy(DiskCacheStrategy.NONE)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue