mirror of
https://github.com/mihonapp/mihon.git
synced 2025-06-26 19:17:51 +02:00
Update dependency androidx.compose:compose-bom to v2025.04.01 (#2040)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
[versions]
|
||||
compose-bom = "2025.04.00"
|
||||
compose-bom = "2025.04.01"
|
||||
|
||||
[libraries]
|
||||
activity = "androidx.activity:activity-compose:1.10.1"
|
||||
|
@ -227,7 +227,7 @@ private fun <T> AnchoredDraggableState<T>.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
|
||||
|
Reference in New Issue
Block a user