NTP-69141 | Compose BOM 2025-05-01 (#16389)

This commit is contained in:
Soumya Ranjan Patra
2025-06-03 19:15:22 +05:30
committed by GitHub
parent 68e263fc03
commit 53c1f0d8da
6 changed files with 14 additions and 12 deletions

View File

@@ -189,7 +189,7 @@ fun backDropNestedScrollConnection(state: AnchoredDraggableState<BackdropState>)
override suspend fun onPreFling(available: Velocity): Velocity {
val toFling = available.toFloat()
val currentOffset = state.requireOffset()
return if (toFling < 0 && currentOffset > state.anchors.minAnchor()) {
return if (toFling < 0 && currentOffset > state.anchors.minPosition()) {
state.settle(toFling)
available
} else {

View File

@@ -60,7 +60,7 @@ branch = "5.15.0"
cashfree = "2.0.6"
chucker = "4.1.0"
coil = "2.5.0"
compose-bom = "2024.12.01"
compose-bom = "2025.05.01"
digio = "v4.0.6"
digitap = "1.4.4"
facebook-applinks = "18.0.0"
@@ -95,15 +95,15 @@ masayukiSuda-easingInterpolator = "v1.3.2"
mlkit-barcodeScanning = "17.3.0"
mockk = "1.13.16"
mvel2 = "2.4.15.Final"
navi-adverse = "1.21.0"
navi-adverse = "1.22.0"
navi-alfred = "3.0.2"
navi-customerDocumentCollector = "1.0.2"
navi-elex = "1.11.1"
navi-guarddog = "3.14.0"
navi-pulse = "1.16.0"
navi-elex = "1.12.0"
navi-guarddog = "3.15.0"
navi-pulse = "1.17.0"
navi-traceflow = "1.0.0"
navi-traceroute = "1.0.2"
navi-uitron = "3.8.0"
navi-uitron = "3.9.0"
navi-bandwidthBuddy = "1.0.0"
navigation = "2.8.5"
okhttp-bom = "4.12.0"

View File

@@ -208,7 +208,7 @@ fun RenderMyBillsScreen(
}
AnimatedVisibility(
modifier = Modifier.animateItemPlacement(),
modifier = Modifier.animateItem(),
visible =
myPaidBills.any { it.billId == myBillEntity.billId } ||
myUnpaidBills.any { it.billId == myBillEntity.billId },
@@ -297,7 +297,7 @@ fun RenderMyBillsScreen(
index,
myBillEntity ->
AnimatedVisibility(
modifier = Modifier.animateItemPlacement(),
modifier = Modifier.animateItem(),
visible =
myPaidBills.any { it.billId == myBillEntity.billId } ||
myUnpaidBills.any { it.billId == myBillEntity.billId },

View File

@@ -1413,7 +1413,8 @@ private fun SharedTransitionScope.RewardsBottomBarWithStripSection(
val scratchCardWithCoinsModifier =
Modifier.padding(start = 20.dp, bottom = 8.dp)
.sharedElement(
state = rememberSharedContentState(key = SCRATCH_CARD_SHARED_ELEMENT_KEY),
sharedContentState =
rememberSharedContentState(key = SCRATCH_CARD_SHARED_ELEMENT_KEY),
animatedVisibilityScope = animateContextScope,
boundsTransform = { _, _ ->
tween(

View File

@@ -81,7 +81,7 @@ fun backDropNestedScrollConnection(state: AnchoredDraggableState<BackdropState>)
override suspend fun onPreFling(available: Velocity): Velocity {
val toFling = available.toFloat()
val currentOffset = state.requireOffset()
return if (toFling < 0 && currentOffset > state.anchors.minAnchor()) {
return if (toFling < 0 && currentOffset > state.anchors.minPosition()) {
state.settle(toFling)
available
} else {

View File

@@ -810,7 +810,8 @@ private fun SharedTransitionScope.RewardsBottomBarWithStripSection(
val scratchCardWithCoinsModifier =
Modifier.padding(start = 20.dp, bottom = 8.dp)
.sharedElement(
state = rememberSharedContentState(key = SCRATCH_CARD_SHARED_ELEMENT_KEY),
sharedContentState =
rememberSharedContentState(key = SCRATCH_CARD_SHARED_ELEMENT_KEY),
animatedVisibilityScope = animateContextScope,
boundsTransform = { _, _ ->
tween(