mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-02-06 02:33:28 +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()
|
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…
x
Reference in New Issue
Block a user