use same id at local contacts as raw and contact id
This commit is contained in:
parent
43363f8348
commit
697726b7e1
|
@ -157,7 +157,7 @@ class LocalContactsHelper(val context: Context) {
|
|||
return if (contact == null || contact.phoneNumbers.isEmpty()) {
|
||||
null
|
||||
} else {
|
||||
SimpleContact(contact.id, 0, contact.getNameToDisplay(), contact.photoUri, contact.phoneNumbers.first().value)
|
||||
SimpleContact(contact.id, contact.id, contact.getNameToDisplay(), contact.photoUri, contact.phoneNumbers.first().value)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue