From 1653aff8fb358ac6ccf4b3723434d9354f843122 Mon Sep 17 00:00:00 2001 From: tibbi Date: Wed, 14 Aug 2019 20:49:29 +0200 Subject: [PATCH] try fixing a glitch at removing wanted contact sources --- .../simplemobiletools/contacts/pro/helpers/ContactsHelper.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 5c5770fa..468980a0 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 @@ -34,7 +34,7 @@ class ContactsHelper(val context: Context) { displayContactSources = context.getVisibleContactSources() if (ignoredContactSources.isNotEmpty()) { displayContactSources = context.getAllContactSources().filter { - !ignoredContactSources.contains(it.getFullIdentifier()) + it.getFullIdentifier().isNotEmpty() && !ignoredContactSources.contains(it.getFullIdentifier()) }.map { it.getFullIdentifier() }.toMutableList() as ArrayList }