Make more sliders discrete and ensure they don't look out of place (#1840)

Also cleanup the underlying code
This commit is contained in:
AntsyLich
2025-03-09 12:28:24 +06:00
committed by GitHub
parent 7913679f9d
commit 4f06c1cc09
10 changed files with 89 additions and 65 deletions
@@ -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 {