do not apply the Contact Sources filter on GroupsFragment
This commit is contained in:
parent
d583a457ff
commit
f1b59aee27
|
@ -95,7 +95,9 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet)
|
||||||
contacts.sort()
|
contacts.sort()
|
||||||
allContacts = contacts
|
allContacts = contacts
|
||||||
|
|
||||||
val filtered = if (this is FavoritesFragment) {
|
val filtered = if (this is GroupsFragment) {
|
||||||
|
contacts
|
||||||
|
} else if (this is FavoritesFragment) {
|
||||||
contacts.filter { it.starred == 1 } as ArrayList<Contact>
|
contacts.filter { it.starred == 1 } as ArrayList<Contact>
|
||||||
} else {
|
} else {
|
||||||
val contactSources = config.displayContactSources
|
val contactSources = config.displayContactSources
|
||||||
|
|
Loading…
Reference in New Issue