try fixing a glitch at removing wanted contact sources

This commit is contained in:
tibbi 2019-08-14 20:49:29 +02:00
parent 007e264f69
commit 1653aff8fb

View File

@ -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
}