Use structured name when formatted name is empty

This commit is contained in:
Naveen 2022-08-31 17:34:51 +05:30
parent d95985841a
commit 8dc4687328
3 changed files with 19 additions and 16 deletions

View file

@ -367,7 +367,7 @@ class ThreadAdapter(
thread_mesage_attachments_holder.addView(vCardView)
parseVCardFromUri(context, uri) { vCards ->
val title = vCards.firstOrNull()?.formattedName?.value
val title = vCards.firstOrNull()?.parseNameFromVCard()
val imageIcon = if (title != null) {
SimpleContactsHelper(context).getContactLetterIcon(title)
} else {