prepare for handling multiple mms attachments

This commit is contained in:
tibbi 2020-04-12 18:13:40 +02:00
parent 59ba80d65a
commit a5d8633593
5 changed files with 17 additions and 12 deletions

View file

@ -19,7 +19,7 @@ class MmsReceiver : com.klinker.android.send_message.MmsReceivedReceiver() {
val glideBitmap = try {
Glide.with(context)
.asBitmap()
.load(mms.attachment!!.uri)
.load(mms.attachment!!.attachments.first().uri)
.centerCrop()
.into(size, size)
.get()