use same id at local contacts as raw and contact id

This commit is contained in:
tibbi 2020-05-20 15:06:12 +02:00
parent 43363f8348
commit 697726b7e1
1 changed files with 1 additions and 1 deletions

View File

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