feat: Save files images and videos

This commit is contained in:
Christian Pauly 2021-12-27 15:35:25 +01:00
commit c0e2f66bf6
2 changed files with 19 additions and 0 deletions

View file

@ -49,6 +49,12 @@ class ChatView extends StatelessWidget {
tooltip: L10n.of(context).copy,
onPressed: controller.copyEventsAction,
),
if (controller.canSaveSelectedEvent)
IconButton(
icon: Icon(Icons.adaptive.share),
tooltip: L10n.of(context).share,
onPressed: controller.saveSelectedEvent,
),
if (controller.canRedactSelectedEvents)
IconButton(
icon: const Icon(Icons.delete_outlined),