From e35d07d8c6c2ef12d2a5e6ced48ff33a7b8fb3a6 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 28 Apr 2020 10:19:38 +0200 Subject: [PATCH] do not rely on email at letter fastscroller too early --- .../contacts/pro/fragments/MyViewPagerFragment.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/MyViewPagerFragment.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/MyViewPagerFragment.kt index d92e6b8d..6bfca4a4 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/MyViewPagerFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/MyViewPagerFragment.kt @@ -253,10 +253,6 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet) else -> contact.firstName } - if (name.isEmpty() && contact.emails.isNotEmpty()) { - name = contact.emails.first().value - } - if (name.isEmpty()) { name = contact.getNameToDisplay() }