android: lighten waveform bars (idle: #A0A0B0 70%, playing unplayed: 35% alpha)
This commit is contained in:
1 parent
4ffa59d968
commit
f745fb25e8
1 file changed
+2
-2
+2
-2
@@ -134,9 +134,9 @@ private fun VoiceBubble(message: Message, textColor: Color, onPlay: (String, ()
|
||||
val played = i < playedIdx
|
||||
drawRect(
|
||||
color = if (playing) {
|
||||
if (played) Color(0xFF3390EC) else Color(0xFF3390EC).copy(alpha = 0.25f)
|
||||
if (played) Color(0xFF3390EC) else Color(0xFF3390EC).copy(alpha = 0.35f)
|
||||
} else {
|
||||
Color(0xFF888899).copy(alpha = 0.45f)
|
||||
Color(0xFFA0A0B0).copy(alpha = 0.7f)
|
||||
},
|
||||
topLeft = Offset(x, y),
|
||||
size = Size(barW * 0.75f, barH)
|
||||
|
||||
Reference in new issue
Block a user