From 2ba7ed32802ffca1946d567b8afe49bfd3f4326e Mon Sep 17 00:00:00 2001 From: abdurisaq <133296208+abdurisaq@users.noreply.github.com> Date: Thu, 24 Oct 2024 05:59:22 -0700 Subject: [PATCH] Fix settings SliderItem steps count (#1356) --- .../tachiyomi/presentation/core/components/SettingsItems.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/presentation-core/src/main/java/tachiyomi/presentation/core/components/SettingsItems.kt b/presentation-core/src/main/java/tachiyomi/presentation/core/components/SettingsItems.kt index f9d4923c5..7a1110857 100644 --- a/presentation-core/src/main/java/tachiyomi/presentation/core/components/SettingsItems.kt +++ b/presentation-core/src/main/java/tachiyomi/presentation/core/components/SettingsItems.kt @@ -202,7 +202,7 @@ fun SliderItem( }, modifier = Modifier.weight(1.5f), valueRange = min.toFloat()..max.toFloat(), - steps = max - min, + steps = max - min - 1, ) } }