make the contact images more colorful

This commit is contained in:
tibbi 2020-04-10 23:36:44 +02:00
parent 584fc7ca81
commit d8080848c6
6 changed files with 55 additions and 4 deletions

View file

@ -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
}