chore: Follow up waveform color

pull/1349/head
Krille 10 months ago
parent b7cbd12b04
commit 75d28e16ea
No known key found for this signature in database
GPG Key ID: E067ECD60F1A0652

@ -307,8 +307,8 @@ class AudioPlayerState extends State<AudioPlayerWidget> {
),
decoration: BoxDecoration(
color: i < wavePosition
? theme.colorScheme.onPrimaryContainer
: widget.color.withAlpha(64),
? widget.color
: widget.color.withAlpha(128),
borderRadius: BorderRadius.circular(64),
),
height: 32 * (waveform[i] / 1024),

Loading…
Cancel
Save