fix: Sharing on iPad

This commit is contained in:
Christian Pauly 2022-08-21 08:42:02 +02:00
commit ef763846d0
8 changed files with 30 additions and 19 deletions

View file

@ -25,10 +25,10 @@ class ImageViewerController extends State<ImageViewer> {
}
/// Save this file with a system call.
void saveFileAction() => widget.event.saveFile(context);
void saveFileAction(BuildContext context) => widget.event.saveFile(context);
/// Save this file with a system call.
void shareFileAction() => widget.event.shareFile(context);
void shareFileAction(BuildContext context) => widget.event.shareFile(context);
static const maxScaleFactor = 1.5;