voice: play button white circle, black icon

This commit is contained in:
evgeny committed 2026-07-29 01:44:26 +03:00
1 parent f745fb25e8
commit 109326717e
1 file changed
+2 -2
@@ -105,7 +105,7 @@ private fun VoiceBubble(message: Message, textColor: Color, onPlay: (String, ()
Row(verticalAlignment = Alignment.CenterVertically) {
/* Play/Pause button */
Box(
modifier = Modifier.size(32.dp).background(Color(0xFF3390EC), CircleShape)
modifier = Modifier.size(32.dp).background(Color.White, CircleShape)
.clickable {
if (!playing && message.filePath.isNotEmpty()) {
playing = true; elapsedMs = 0; progress = 0f
@@ -116,7 +116,7 @@ private fun VoiceBubble(message: Message, textColor: Color, onPlay: (String, ()
},
contentAlignment = Alignment.Center
) {
Text(if (playing) "\u23F8" else "\u25B6", fontSize = 14.sp, color = Color.White)
Text(if (playing) "\u23F8" else "\u25B6", fontSize = 14.sp, color = Color.Black)
}
Spacer(Modifier.width(8.dp))