From 6cb07342f8aeee87036feec16cfed47a13699e41 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 17 Jun 2020 09:39:30 +0200 Subject: [PATCH] removing the new check at fetching contacts, better show more contacts --- .../simplemobiletools/contacts/pro/helpers/ContactsHelper.kt | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt index 41afcf3d..f0b2ae1a 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/helpers/ContactsHelper.kt @@ -178,9 +178,7 @@ class ContactsHelper(val context: Context) { val contact = Contact(id, prefix, firstName, middleName, surname, suffix, nickname, photoUri, numbers, emails, addresses, events, accountName, starred, contactId, thumbnailUri, null, notes, groups, organization, websites, ims) - if (contacts[id] == null) { - contacts.put(id, contact) - } + contacts.put(id, contact) } val phoneNumbers = getPhoneNumbers(null)