Skip to content

Commit 3e78be6

Browse files
committed
ensure proper letter placeholder at contacts
1 parent 93b7ef3 commit 3e78be6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/src/main/kotlin/com/simplemobiletools/contacts/pro/adapters/ContactsAdapter.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,7 @@ class ContactsAdapter(activity: SimpleActivity, var contactItems: ArrayList<Cont
290290
contact_tmb.beVisibleIf(showContactThumbnails)
291291

292292
if (showContactThumbnails) {
293-
val avatarName = contact.getAvatarLetterName(context)
294-
val placeholderImage = BitmapDrawable(resources, context.getContactLetterIcon(avatarName))
293+
val placeholderImage = BitmapDrawable(resources, context.getContactLetterIcon(fullName))
295294
if (contact.photoUri.isEmpty() && contact.photo == null) {
296295
contact_tmb.setImageDrawable(placeholderImage)
297296
} else {

0 commit comments

Comments
 (0)