do not rely on email at letter fastscroller too early

This commit is contained in:
tibbi 2020-04-28 10:19:38 +02:00
parent 9df550a8aa
commit e35d07d8c6

View file

@ -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()
}