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

Commit f5f257d7 authored by Darrell Shi's avatar Darrell Shi
Browse files

Animate communal content placement

This change adds a default animation for the placement of contents when
they change, for example, a new timer started.

Bug: 315376517
Test: manual
Flag: ACONFIG com.android.systemui.communal_hub TEAMFOOD
Change-Id: I0718c19f6b2ac90ca9d54a2590c8373e9fb8d336
parent 5e3340b2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -353,11 +353,11 @@ private fun BoxScope.CommunalHubLazyGrid(
                }
            } else {
                CommunalContent(
                    modifier = cardModifier.animateItemPlacement(),
                    model = list[index],
                    viewModel = viewModel,
                    size = size,
                    selected = false,
                    modifier = cardModifier,
                )
            }
        }