Fix settings SliderItem steps count (mihonapp/mihon#1356)
(cherry picked from commit 2ba7ed32802ffca1946d567b8afe49bfd3f4326e)
This commit is contained in:
parent
a380943452
commit
256fe760cc
1 changed files with 1 additions and 1 deletions
|
|
@ -204,7 +204,7 @@ fun SliderItem(
|
|||
},
|
||||
modifier = Modifier.weight(1.5f),
|
||||
valueRange = min.toFloat()..max.toFloat(),
|
||||
steps = max - min,
|
||||
steps = max - min - 1,
|
||||
)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue