From afccd476b7cc121c70f3971b1ed7ecca70671802 Mon Sep 17 00:00:00 2001 From: merkost Date: Wed, 19 Jul 2023 10:56:10 +1000 Subject: [PATCH] Commons updated --- .../contacts/pro/fragments/FavoritesFragment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/FavoritesFragment.kt b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/FavoritesFragment.kt index 1ee69b67..d0ea7578 100644 --- a/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/FavoritesFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/contacts/pro/fragments/FavoritesFragment.kt @@ -78,7 +78,7 @@ class FavoritesFragment(context: Context, attributeSet: AttributeSet) : MyViewPa } onColumnCountListener = { newColumnCount -> - context.config.contactsGridColumnCnt = newColumnCount + context.config.contactsGridColumnCount = newColumnCount } } @@ -97,7 +97,7 @@ class FavoritesFragment(context: Context, attributeSet: AttributeSet) : MyViewPa } private fun setFavoritesViewType(viewType: Int) { - val spanCount = context.config.contactsGridColumnCnt + val spanCount = context.config.contactsGridColumnCount val layoutManager = if (viewType == VIEW_TYPE_GRID) { favorites_fragment.letter_fastscroller.beGone()