mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
always fill contact numbers, so they are searchable
This commit is contained in:
@ -64,14 +64,12 @@ class ContactsHelper(val activity: BaseSimpleActivity) {
|
||||
cursor?.close()
|
||||
}
|
||||
|
||||
if (activity.config.showPhoneNumbers) {
|
||||
val phoneNumbers = getPhoneNumbers()
|
||||
val size = phoneNumbers.size()
|
||||
for (i in 0 until size) {
|
||||
val key = phoneNumbers.keyAt(i)
|
||||
contacts[key]?.phoneNumbers = phoneNumbers.valueAt(i)
|
||||
}
|
||||
}
|
||||
|
||||
val contactsSize = contacts.size()
|
||||
val resultContacts = ArrayList<Contact>(contactsSize)
|
||||
|
Reference in New Issue
Block a user