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
|
package com.simplemobiletools.smsmessenger.adapters
|
||||||
|
|
||||||
|
import android.text.TextUtils
|
||||||
import android.util.TypedValue
|
import android.util.TypedValue
|
||||||
import android.view.Menu
|
import android.view.Menu
|
||||||
import android.view.View
|
import android.view.View
|
||||||
|
@ -69,7 +70,7 @@ class ContactsAdapter(
|
||||||
}
|
}
|
||||||
|
|
||||||
findViewById<TextView>(R.id.item_contact_number).apply {
|
findViewById<TextView>(R.id.item_contact_number).apply {
|
||||||
text = contact.phoneNumbers.first().normalizedNumber
|
text = TextUtils.join(", ", contact.phoneNumbers.map { it.normalizedNumber })
|
||||||
setTextColor(textColor)
|
setTextColor(textColor)
|
||||||
setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize)
|
setTextSize(TypedValue.COMPLEX_UNIT_PX, fontSize)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue