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