Skip to content

Commit f3c4c62

Browse files
author
Marco Romano
authored
Use correct icon tint in voice message preview player (#1672)
Action item from design review.
1 parent b046493 commit f3c4c62

5 files changed

+10
-8
lines changed

libraries/textcomposer/impl/src/main/kotlin/io/element/android/libraries/textcomposer/components/VoiceMessagePreview.kt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,12 +129,14 @@ private fun PlayerButton(
129129
private fun PauseIcon() = Icon(
130130
resourceId = R.drawable.ic_pause,
131131
contentDescription = stringResource(id = CommonStrings.a11y_pause),
132+
tint = ElementTheme.colors.iconSecondary,
132133
)
133134

134135
@Composable
135136
private fun PlayIcon() = Icon(
136137
resourceId = R.drawable.ic_play,
137138
contentDescription = stringResource(id = CommonStrings.a11y_play),
139+
tint = ElementTheme.colors.iconSecondary,
138140
)
139141

140142
@PreviewsDayNight
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)