diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/fragments/MyViewPagerFragment.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/fragments/MyViewPagerFragment.kt index a5fe3b28..1adc2d25 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/fragments/MyViewPagerFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/fragments/MyViewPagerFragment.kt @@ -95,7 +95,9 @@ abstract class MyViewPagerFragment(context: Context, attributeSet: AttributeSet) contacts.sort() 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 } else { val contactSources = config.displayContactSources