fix: Image viewer routing
This commit is contained in:
parent
18abb21cdb
commit
1701384350
3 changed files with 17 additions and 28 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue