Merge pull request #3209 from pangeachat/3159-change-audio-marker-color
chore: make audio marker color more consistent
This commit is contained in:
commit
e3482a96b3
1 changed files with 5 additions and 3 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue