|
|
|
@ -136,7 +136,7 @@ private fun VoiceBubble(message: Message, textColor: Color, onPlay: (String, () |
|
|
|
color = if (playing) { |
|
|
|
color = if (playing) { |
|
|
|
if (played) Color(0xFF3390EC) else Color(0xFF3390EC).copy(alpha = 0.35f) |
|
|
|
if (played) Color(0xFF3390EC) else Color(0xFF3390EC).copy(alpha = 0.35f) |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
Color(0xFFA0A0B0).copy(alpha = 0.7f) |
|
|
|
Color(0xFFCCCCD4).copy(alpha = 0.8f) |
|
|
|
}, |
|
|
|
}, |
|
|
|
topLeft = Offset(x, y), |
|
|
|
topLeft = Offset(x, y), |
|
|
|
size = Size(barW * 0.75f, barH) |
|
|
|
size = Size(barW * 0.75f, barH) |
|
|
|
|