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

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

Merge "Use the correct background color for tiles." into main

parents c3696eff dab63b1b
Loading
Loading
Loading
Loading
+1 −9
Original line number Diff line number Diff line
@@ -130,15 +130,7 @@ fun Tile(

    // TODO(b/361789146): Draw the shapes instead of clipping
    val tileShape = TileDefaults.animateTileShape(uiState.state)
    val animatedColor by
        animateColorAsState(
            if (iconOnly || !uiState.handlesSecondaryClick) {
                colors.iconBackground
            } else {
                colors.background
            },
            label = "QSTileBackgroundColor",
        )
    val animatedColor by animateColorAsState(colors.background, label = "QSTileBackgroundColor")

    TileExpandable(
        color = { animatedColor },