mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-17 03:51:03 +01:00
do not rely on email at letter fastscroller too early
This commit is contained in:
parent
9df550a8aa
commit
e35d07d8c6
@ -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()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user