mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-01-27 14:09:57 +01:00
try fixing a glitch at removing wanted contact sources
This commit is contained in:
parent
007e264f69
commit
1653aff8fb
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user