mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-10 15:11:58 +01:00
tint the playing indicator with the artwork's secondary
This commit is contained in:
@@ -216,7 +216,7 @@ private fun PlayIndicator(
|
||||
shadow: Boolean,
|
||||
modifier: Modifier = Modifier,
|
||||
) {
|
||||
val tint = MaterialTheme.colorScheme.primary
|
||||
val tint = MaterialTheme.colorScheme.secondary
|
||||
if (shadow) {
|
||||
val radius = with(LocalDensity.current) { PLAY_SHADOW_RADIUS.toPx() }
|
||||
Canvas(modifier.semantics { contentDescription = "Playing" }) {
|
||||
|
||||
Reference in New Issue
Block a user