chore: defaultly save files on Android
- defaultly save files on Android instead of share - add dedicated share button for files and images on Android - use ListTile instead of row to display file event - update file_picker_cross Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
parent
14a6047fef
commit
49caad00c0
9 changed files with 137 additions and 68 deletions
|
|
@ -28,6 +28,9 @@ class ImageViewerController extends State<ImageViewer> {
|
|||
/// Save this file with a system call.
|
||||
void saveFileAction() => widget.event.saveFile(context);
|
||||
|
||||
/// Save this file with a system call.
|
||||
void shareFileAction() => widget.event.shareFile(context);
|
||||
|
||||
static const maxScaleFactor = 1.5;
|
||||
|
||||
/// Go back if user swiped it away
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue