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

Commit f666fdee authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update childHeights when action list size changes." into main

parents 04b6077b 300a3c77
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ fun ActionList(
        verticalArrangement = Arrangement.spacedBy(columnSpacing, Alignment.Bottom),
        horizontalAlignment = horizontalAlignment,
    ) {
        val childHeights = remember { MutableList(actions.size) { 0 } }
        val childHeights = remember(actions) { MutableList(actions.size) { 0 } }
        actions.forEachIndexed { index, action ->
            val scale by
                animateFloatAsState(