mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-04-24 06:27:18 +02:00
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()) {
|
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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user