diff --git a/gradle/compose.versions.toml b/gradle/compose.versions.toml index 5c63a6ba3..3d5f06a41 100644 --- a/gradle/compose.versions.toml +++ b/gradle/compose.versions.toml @@ -1,5 +1,5 @@ [versions] -compose-bom = "2025.04.00" +compose-bom = "2025.04.01" [libraries] activity = "androidx.activity:activity-compose:1.10.1" diff --git a/presentation-core/src/main/java/tachiyomi/presentation/core/components/AdaptiveSheet.kt b/presentation-core/src/main/java/tachiyomi/presentation/core/components/AdaptiveSheet.kt index 61e8be488..a33ad3a5b 100644 --- a/presentation-core/src/main/java/tachiyomi/presentation/core/components/AdaptiveSheet.kt +++ b/presentation-core/src/main/java/tachiyomi/presentation/core/components/AdaptiveSheet.kt @@ -227,7 +227,7 @@ private fun AnchoredDraggableState.preUpPostDownNestedScrollConnection( override suspend fun onPreFling(available: Velocity): Velocity { val toFling = available.toFloat() - return if (toFling < 0 && offset > anchors.minAnchor()) { + return if (toFling < 0 && offset > anchors.minPosition()) { onFling(toFling) // since we go to the anchor with tween settling, consume all for the best UX available