Make more sliders discrete and ensure they don't look out of place (#1840)
Also cleanup the underlying code
This commit is contained in:
@@ -252,9 +252,9 @@ private fun ColumnScope.DisplayPage(
|
||||
|
||||
val columns by columnPreference.collectAsState()
|
||||
SliderItem(
|
||||
label = stringResource(MR.strings.pref_library_columns),
|
||||
max = 10,
|
||||
value = columns,
|
||||
valueRange = 0..10,
|
||||
label = stringResource(MR.strings.pref_library_columns),
|
||||
valueText = if (columns > 0) {
|
||||
columns.toString()
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user