Changed CONTACTS_GRID_MIN_COLUMNS_COUNT to 1

This commit is contained in:
merkost 2023-07-22 10:22:46 +10:00
parent fd24f1ed6c
commit 73754bfc9f

View file

@ -248,7 +248,7 @@ class MainActivity : SimpleActivity(), RefreshContactsListener {
}
private fun changeColumnCount() {
val items = (CONTACTS_GRID_MIN_COLUMNS_COUNT..CONTACTS_GRID_MAX_COLUMNS_COUNT).map {
val items = (1..CONTACTS_GRID_MAX_COLUMNS_COUNT).map {
RadioItem(it, resources.getQuantityString(R.plurals.column_counts, it, it))
}