Skip to content

Commit 256fe76

Browse files
abdurisaqcuong-tran
authored andcommitted
Fix settings SliderItem steps count (mihonapp/mihon#1356)
(cherry picked from commit 2ba7ed3)
1 parent a380943 commit 256fe76

File tree

1 file changed

+1
-1
lines changed
  • presentation-core/src/main/java/tachiyomi/presentation/core/components

1 file changed

+1
-1
lines changed

presentation-core/src/main/java/tachiyomi/presentation/core/components/SettingsItems.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ fun SliderItem(
204204
},
205205
modifier = Modifier.weight(1.5f),
206206
valueRange = min.toFloat()..max.toFloat(),
207-
steps = max - min,
207+
steps = max - min - 1,
208208
)
209209
}
210210
}

0 commit comments

Comments
 (0)