From 627ada6679bf7e10c841f20b01aafb5544fc5589 Mon Sep 17 00:00:00 2001 From: Alex Baker Date: Tue, 13 May 2025 09:36:07 -0500 Subject: [PATCH] Replace deprecated method call --- app/src/main/java/org/tasks/compose/DragSortList.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/src/main/java/org/tasks/compose/DragSortList.kt b/app/src/main/java/org/tasks/compose/DragSortList.kt index 29f1aaa21..4991d5859 100644 --- a/app/src/main/java/org/tasks/compose/DragSortList.kt +++ b/app/src/main/java/org/tasks/compose/DragSortList.kt @@ -189,8 +189,10 @@ fun LazyItemScope.DraggableItem( .zIndex(1f) .graphicsLayer { translationY = current } } else { - Modifier.animateItemPlacement( - tween(easing = FastOutLinearInEasing) + Modifier.animateItem( + fadeInSpec = null, + fadeOutSpec = null, + placementSpec = tween(easing = FastOutLinearInEasing), ) } Box(modifier = modifier.then(draggingModifier)) {