Merge pull request #3209 from pangeachat/3159-change-audio-marker-color

chore: make audio marker color more consistent
This commit is contained in:
ggurdin 2025-06-24 11:18:10 -04:00 committed by GitHub
commit e3482a96b3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -537,11 +537,13 @@ class AudioPlayerState extends State<AudioPlayerWidget> {
// #Pangea
// thumbColor: widget.event.senderId ==
// widget.event.room.client.userID
// ? theme.colorScheme.onPrimary
// : theme.colorScheme.primary,
thumbColor: widget.senderId ==
Matrix.of(context).client.userID
// Pangea#
? theme.colorScheme.onPrimary
: theme.colorScheme.primary,
? widget.color
: theme.colorScheme.onSurface,
// Pangea#
activeColor: waveform == null
? widget.color
: Colors.transparent,