Replace deprecated method call

pull/3539/head
Alex Baker 7 months ago
parent c996462e32
commit 627ada6679

@ -189,8 +189,10 @@ fun LazyItemScope.DraggableItem(
.zIndex(1f) .zIndex(1f)
.graphicsLayer { translationY = current } .graphicsLayer { translationY = current }
} else { } else {
Modifier.animateItemPlacement( Modifier.animateItem(
tween(easing = FastOutLinearInEasing) fadeInSpec = null,
fadeOutSpec = null,
placementSpec = tween(easing = FastOutLinearInEasing),
) )
} }
Box(modifier = modifier.then(draggingModifier)) { Box(modifier = modifier.then(draggingModifier)) {

Loading…
Cancel
Save