Fix settings SliderItem steps count (mihonapp/mihon#1356)

(cherry picked from commit 2ba7ed32802ffca1946d567b8afe49bfd3f4326e)
This commit is contained in:
abdurisaq 2024-10-24 05:59:22 -07:00 committed by Cuong-Tran
parent a380943452
commit 256fe760cc
No known key found for this signature in database
GPG key ID: 733AA7624B9315C2

View file

@ -204,7 +204,7 @@ fun SliderItem(
},
modifier = Modifier.weight(1.5f),
valueRange = min.toFloat()..max.toFloat(),
steps = max - min,
steps = max - min - 1,
)
}
}