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

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