feat: Add download button to audio messages

This commit is contained in:
Sorunome 2021-07-18 11:34:47 +02:00
parent 605327bc05
commit bbb2f434c3
No known key found for this signature in database
GPG Key ID: B19471D07FC9BE9C

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),
),
],
);
}