moving some contact display related things into Commons
This commit is contained in:
parent
605f9e845a
commit
bea48aff13
8 changed files with 16 additions and 118 deletions
|
|
@ -5,7 +5,6 @@ import com.simplemobiletools.commons.models.SimpleContact
|
|||
|
||||
data class Message(
|
||||
val id: Int, val body: String, val type: Int, val participants: ArrayList<SimpleContact>, val date: Int, val read: Boolean, val thread: Int,
|
||||
val isMMS: Boolean, val attachment: MessageAttachment?, val senderName: String, val senderPhotoUri: String
|
||||
) : ThreadItem() {
|
||||
val isMMS: Boolean, val attachment: MessageAttachment?, val senderName: String, val senderPhotoUri: String) : ThreadItem() {
|
||||
fun isReceivedMessage() = type == Telephony.Sms.MESSAGE_TYPE_INBOX
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue