prepare for handling multiple mms attachments
This commit is contained in:
parent
59ba80d65a
commit
a5d8633593
5 changed files with 17 additions and 12 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue