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

Commit 24f8fef0 authored by Tianfan Zhang's avatar Tianfan Zhang
Browse files

Show glow in the resting moment of 3 button mode.

Bug: 435604222
Test: local
Flag: EXEMPT bugfix
Change-Id: I6dfeba5601bc7e6561588fb2249a97a180d0e34b
parent af43a5d6
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