Update dependency androidx.compose:compose-bom to v2025.04.01 (#2040)
Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com> (cherry picked from commit d721a4321bdc6fafdd32e7bfd451b61b2bdd66b7)
This commit is contained in:
parent
076e2961c6
commit
4d075ff190
@ -1,5 +1,5 @@
|
|||||||
[versions]
|
[versions]
|
||||||
compose-bom = "2025.04.00"
|
compose-bom = "2025.04.01"
|
||||||
|
|
||||||
[libraries]
|
[libraries]
|
||||||
activity = "androidx.activity:activity-compose:1.10.1"
|
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 {
|
override suspend fun onPreFling(available: Velocity): Velocity {
|
||||||
val toFling = available.toFloat()
|
val toFling = available.toFloat()
|
||||||
return if (toFling < 0 && offset > anchors.minAnchor()) {
|
return if (toFling < 0 && offset > anchors.minPosition()) {
|
||||||
onFling(toFling)
|
onFling(toFling)
|
||||||
// since we go to the anchor with tween settling, consume all for the best UX
|
// since we go to the anchor with tween settling, consume all for the best UX
|
||||||
available
|
available
|
||||||
|
Loading…
x
Reference in New Issue
Block a user