Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit eb700ed2 authored by Anvesh Renikindi's avatar Anvesh Renikindi
Browse files

animateItemPlacement() is deprecated and needs to be updated to animateItem().

Change-Id: I02a8d1426812b8379a130cbcd15f64f6d325e9e9
Test: Treehugger
Flag: bugfix b/348734945
parent f0237201
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -589,7 +589,7 @@ private fun BoxScope.CommunalHubLazyGrid(
                }
            } else {
                CommunalContent(
                    modifier = cardModifier.animateItemPlacement(),
                    modifier = cardModifier.animateItem(),
                    model = list[index],
                    viewModel = viewModel,
                    size = size,
+1 −1
Original line number Diff line number Diff line
@@ -267,7 +267,7 @@ fun LazyGridItemScope.DraggableItem(
                alpha = itemAlpha
            }
        } else {
            Modifier.animateItemPlacement()
            Modifier.animateItem()
        }

    Box(modifier) {