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

Commit fc920e74 authored by Tianfan Zhang's avatar Tianfan Zhang Committed by Android (Google) Code Review
Browse files

Merge "Show glow in the resting moment of 3 button mode." into main

parents 712bd48c 24f8fef0
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -111,12 +111,11 @@ fun ActionList(
    val minGradientHeight = 70.dp
    val scrimVerticalPadding = 32.dp
    val scrimHorizontalPadding = 42.dp
    val edgeAligned = horizontalAlignment == Alignment.Start || horizontalAlignment == Alignment.End
    val smartScrimAlpha by
        animateFloatAsState(
            if (expanded) {
                0.5f
            } else if (visible && !edgeAligned) {
            } else if (visible) {
                0.3f
            } else {
                0f