chore: Update audio player icons

This commit is contained in:
Christian Pauly 2021-01-23 11:20:31 +01:00
parent 2f7dece4c7
commit 3f14d5ed07
1 changed files with 3 additions and 1 deletions

View File

@ -157,7 +157,9 @@ class _AudioPlayerState extends State<AudioPlayer> {
? CircularProgressIndicator(strokeWidth: 2) ? CircularProgressIndicator(strokeWidth: 2)
: IconButton( : IconButton(
icon: Icon( icon: Icon(
flutterSound.isPlaying ? Icons.pause : Icons.play_arrow, flutterSound.isPlaying
? Icons.pause_outlined
: Icons.play_arrow_outlined,
color: widget.color, color: widget.color,
), ),
onPressed: () { onPressed: () {