feat: Add download button to audio messages
This commit is contained in:
parent
605327bc05
commit
bbb2f434c3
|
@ -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),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue