try fixing a glitch at removing wanted contact sources
This commit is contained in:
parent
007e264f69
commit
1653aff8fb
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ class ContactsHelper(val context: Context) {
|
||||||
displayContactSources = context.getVisibleContactSources()
|
displayContactSources = context.getVisibleContactSources()
|
||||||
if (ignoredContactSources.isNotEmpty()) {
|
if (ignoredContactSources.isNotEmpty()) {
|
||||||
displayContactSources = context.getAllContactSources().filter {
|
displayContactSources = context.getAllContactSources().filter {
|
||||||
!ignoredContactSources.contains(it.getFullIdentifier())
|
it.getFullIdentifier().isNotEmpty() && !ignoredContactSources.contains(it.getFullIdentifier())
|
||||||
}.map { it.getFullIdentifier() }.toMutableList() as ArrayList
|
}.map { it.getFullIdentifier() }.toMutableList() as ArrayList
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue