diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/ViewContactActivity.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/ViewContactActivity.kt index af8907a1..583e7168 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/ViewContactActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/ViewContactActivity.kt @@ -351,7 +351,7 @@ class ViewContactActivity : ContactActivity() { val duplicateContactsDefaultNumbers = duplicateContacts.flatMap { it.phoneNumbers }.filter { it.isPrimary } val defaultNumbers = (contactDefaultsNumbers + duplicateContactsDefaultNumbers).toSet() - if (defaultNumbers.size > 1) { + if (defaultNumbers.size > 1 && defaultNumbers.distinctBy { it.normalizedNumber }.size > 1) { phoneNumbers.forEach { it.isPrimary = false } } else if (defaultNumbers.size == 1) { if (mergeDuplicate) {