From 697726b7e1f23685466c78786cbb972a905b742d Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 20 May 2020 15:06:12 +0200 Subject: [PATCH] use same id at local contacts as raw and contact id --- .../contacts/pro/helpers/LocalContactsHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/LocalContactsHelper.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/LocalContactsHelper.kt index 977c82ce..9b867d49 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/LocalContactsHelper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/LocalContactsHelper.kt @@ -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) } }