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

Commit 61018dce authored by Anvesh Renikindi's avatar Anvesh Renikindi Committed by Android (Google) Code Review
Browse files

Merge "animateItemPlacement() is deprecated and needs to be updated to animateItem()." into main

parents c56f83f2 eb700ed2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -546,7 +546,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
@@ -261,7 +261,7 @@ fun LazyGridItemScope.DraggableItem(
                alpha = itemAlpha
            }
        } else {
            Modifier.animateItemPlacement()
            Modifier.animateItem()
        }

    // Animate the highlight alpha manually as alpha modifier (and AnimatedVisibility) clips the