From 461ffdfd0eb2fdff345ac4371619a8a1f315fed8 Mon Sep 17 00:00:00 2001 From: tibbi Date: Tue, 4 Sep 2018 09:38:49 +0200 Subject: [PATCH] make sure we show all contacts if duplicate filtering is disabled --- .../com/simplemobiletools/contacts/helpers/ContactsHelper.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/helpers/ContactsHelper.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/helpers/ContactsHelper.kt index 9fcf2bb1..e9d8f447 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/helpers/ContactsHelper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/helpers/ContactsHelper.kt @@ -58,6 +58,8 @@ class ContactsHelper(val activity: Activity) { resultContacts.add(sorted.first()) } } + } else { + resultContacts.addAll(tempContacts) } // groups are obtained with contactID, not rawID, so assign them to proper contacts like this