Merge branch 'soru/download-audio' into 'main'

feat: Add download button to audio messages

See merge request famedly/fluffychat!443
This commit is contained in:
Krille Fear 2021-07-18 17:24:25 +00:00
commit e2150a0c5c
1 changed files with 8 additions and 0 deletions

View File

@ -177,6 +177,14 @@ class _AudioPlayerState extends State<AudioPlayerWidget> {
color: widget.color,
),
),
SizedBox(width: 8),
IconButton(
icon: Icon(
Icons.download_outlined,
color: widget.color,
),
onPressed: () => widget.event.saveFile(context),
),
],
);
}