mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-02-24 23:47:41 +01:00
show all contact numbers at the new conversation screen
This commit is contained in:
parent
4a57000d9a
commit
9279c66cb3
@ -1,5 +1,6 @@
|
||||
package com.simplemobiletools.smsmessenger.adapters
|
||||
|
||||
import android.text.TextUtils
|
||||
import android.util.TypedValue
|
||||
import android.view.Menu
|
||||
import android.view.View
|
||||
@ -69,7 +70,7 @@ class ContactsAdapter(
|
||||
}
|
||||
|
||||
findViewById<TextView>(R.id.item_contact_number).apply {
|
||||
text = contact.phoneNumbers.first().normalizedNumber
|
||||
text = TextUtils.join(", ", contact.phoneNumbers.map { it.normalizedNumber })
|
||||
setTextColor(textColor)
|
||||
setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user