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

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

Merge "Move resource tag of play pause button to the icon inside" into main

parents f4701f74 4c7fd1c3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -1260,7 +1260,7 @@ private fun ContentScope.PlayPauseAction(
            enabled = viewModel.onClick != null,
            colors = ButtonDefaults.buttonColors(containerColor = buttonColor),
            shape = RoundedCornerShape(cornerRadius),
            modifier = Modifier.size(buttonSize).sysuiResTag(MediaRes.PLAY_PAUSE_BTN),
            modifier = Modifier.size(buttonSize),
        ) {
            when (viewModel.state) {
                is MediaSessionState.Playing,
@@ -1285,7 +1285,7 @@ private fun ContentScope.PlayPauseAction(
                            painter = painter,
                            contentDescription = viewModel.icon?.contentDescription?.load(),
                            tint = iconColor,
                            modifier = Modifier.size(24.dp),
                            modifier = Modifier.size(24.dp).sysuiResTag(MediaRes.PLAY_PAUSE_BTN),
                        )
                    }
                }