We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d167e15 commit 0160f48Copy full SHA for 0160f48
app/src/main/kotlin/com/simplemobiletools/contacts/pro/activities/ViewContactActivity.kt
@@ -572,7 +572,8 @@ class ViewContactActivity : ContactActivity() {
572
ContactsHelper(this).getDuplicatesOfContact(contact!!, false) { contacts ->
573
ensureBackgroundThread {
574
duplicateContacts.clear()
575
- contacts.forEach {
+ val displayContactSources = getVisibleContactSources()
576
+ contacts.filter { displayContactSources.contains(it.source) }.forEach {
577
val duplicate = ContactsHelper(this).getContactWithId(it.id, it.isPrivate())
578
if (duplicate != null) {
579
duplicateContacts.add(duplicate)
0 commit comments