mirror of
https://github.com/SimpleMobileTools/Simple-Contacts.git
synced 2025-01-23 12:30:34 +01:00
show all contacts by default
This commit is contained in:
parent
09b9d954fb
commit
0b42a283c0
@ -95,7 +95,11 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet)
|
||||
contacts.filter { favorites.contains(it.id.toString()) } as ArrayList<Contact>
|
||||
} else {
|
||||
val contactSources = config.displayContactSources
|
||||
contacts.filter { contactSources.contains(it.source) } as ArrayList<Contact>
|
||||
if (config.showAllContacts()) {
|
||||
contacts
|
||||
} else {
|
||||
contacts.filter { contactSources.contains(it.source) } as ArrayList<Contact>
|
||||
}
|
||||
}
|
||||
|
||||
if (contacts.hashCode() != (fragment_list.adapter as? ContactsAdapter)?.contactItems?.hashCode()) {
|
||||
|
Loading…
Reference in New Issue
Block a user