feat: Add a proper file saver

This commit is contained in:
Sorunome 2021-07-11 17:12:56 +02:00
commit c96486e9a0
8 changed files with 73 additions and 63 deletions

View file

@ -31,7 +31,7 @@ class ImageViewerView extends StatelessWidget {
),
IconButton(
icon: Icon(Icons.download_outlined),
onPressed: controller.openFileAction,
onPressed: controller.saveFileAction,
color: Colors.white,
tooltip: L10n.of(context).downloadFile,
),