do not rely on email at letter fastscroller too early
This commit is contained in:
parent
9df550a8aa
commit
e35d07d8c6
1 changed files with 0 additions and 4 deletions
|
|
@ -253,10 +253,6 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet)
|
||||||
else -> contact.firstName
|
else -> contact.firstName
|
||||||
}
|
}
|
||||||
|
|
||||||
if (name.isEmpty() && contact.emails.isNotEmpty()) {
|
|
||||||
name = contact.emails.first().value
|
|
||||||
}
|
|
||||||
|
|
||||||
if (name.isEmpty()) {
|
if (name.isEmpty()) {
|
||||||
name = contact.getNameToDisplay()
|
name = contact.getNameToDisplay()
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue