mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
use same id at local contacts as raw and contact id
This commit is contained in:
@ -157,7 +157,7 @@ class LocalContactsHelper(val context: Context) {
|
|||||||
return if (contact == null || contact.phoneNumbers.isEmpty()) {
|
return if (contact == null || contact.phoneNumbers.isEmpty()) {
|
||||||
null
|
null
|
||||||
} else {
|
} 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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user