make the contact images more colorful
This commit is contained in:
parent
584fc7ca81
commit
d8080848c6
6 changed files with 55 additions and 4 deletions
|
|
@ -1,5 +1,6 @@
|
|||
package com.simplemobiletools.smsmessenger.models
|
||||
|
||||
import android.graphics.Bitmap
|
||||
import android.provider.Telephony
|
||||
import com.simplemobiletools.smsmessenger.extensions.getThreadTitle
|
||||
|
||||
|
|
@ -10,4 +11,6 @@ data class Message(
|
|||
fun isReceivedMessage() = type == Telephony.Sms.MESSAGE_TYPE_INBOX
|
||||
|
||||
fun getThreadTitle() = participants.getThreadTitle()
|
||||
|
||||
fun getThreadImageUri() = participants.firstOrNull()?.photoUri
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue