Merge pull request #771 from Aga-C/fix-opening-private-contacts

Fixed opening private contacts not working in Simple Dialer
This commit is contained in:
Tibor Kaputa 2022-02-03 23:25:40 +01:00 committed by GitHub
commit bf7ab718ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,7 +136,7 @@ class LocalContactsHelper(val context: Context) {
}
return getEmptyLocalContact().apply {
id = if (contact.id == 0) null else contact.id
id = if (contact.id <= FIRST_CONTACT_ID) null else contact.id
prefix = contact.prefix
firstName = contact.firstName
middleName = contact.middleName