From 9279c66cb3a33f75825345d392b4a963182c4c62 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 7 Feb 2022 10:07:33 +0100 Subject: [PATCH] show all contact numbers at the new conversation screen --- .../simplemobiletools/smsmessenger/adapters/ContactsAdapter.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ContactsAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ContactsAdapter.kt index 0cc61087..e134baf3 100644 --- a/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ContactsAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/smsmessenger/adapters/ContactsAdapter.kt @@ -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(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) }