mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-06-05 21:59:27 +02:00
try fixing a glitch at removing wanted contact sources
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user