properly set the thread title if it contains no messages
This commit is contained in:
parent
ef09a8871a
commit
fb45d68835
3 changed files with 14 additions and 4 deletions
|
|
@ -0,0 +1,6 @@
|
|||
package com.simplemobiletools.smsmessenger.extensions
|
||||
|
||||
import android.text.TextUtils
|
||||
import com.simplemobiletools.smsmessenger.models.Contact
|
||||
|
||||
fun ArrayList<Contact>.getThreadTitle() = TextUtils.join(", ", map { it.name }.toTypedArray())
|
||||
Loading…
Add table
Add a link
Reference in a new issue