fix: Image viewer routing

This commit is contained in:
Christian Pauly 2021-06-06 10:09:13 +02:00
commit 1701384350
3 changed files with 17 additions and 28 deletions

View file

@ -25,7 +25,7 @@ class ImageViewerController extends State<ImageViewer> {
}
/// Open this file with a system call.
void openFileAction() => widget.event.openFile(context, downloadOnly: true);
void openFileAction() => widget.event.openFile(context);
/// Go back if user swiped it away
void onInteractionEnds(ScaleEndDetails endDetails) {