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

@ -24,8 +24,8 @@ class ImageViewerController extends State<ImageViewer> {
VRouter.of(context).to('/rooms');
}
/// Open this file with a system call.
void openFileAction() => widget.event.openFile(context);
/// Save this file with a system call.
void saveFileAction() => widget.event.saveFile(context);
/// Go back if user swiped it away
void onInteractionEnds(ScaleEndDetails endDetails) {