Commons updated

This commit is contained in:
merkost 2023-07-19 10:56:10 +10:00
parent 4052f768a7
commit afccd476b7
1 changed files with 2 additions and 2 deletions

View File

@ -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()