mirror of
https://github.com/gabehf/Fladder.git
synced 2026-03-07 21:48:14 -08:00
chore: Update dependencies (#372)
Co-authored-by: PartyDonut <PartyDonut@users.noreply.github.com>
This commit is contained in:
parent
4220c68ca3
commit
34c9c5bd9c
65 changed files with 431 additions and 1910 deletions
|
|
@ -348,11 +348,11 @@ class _PhotoViewerControllsState extends ConsumerState<PhotoViewerControls> with
|
|||
|
||||
Future<void> sharePhoto() async {
|
||||
final file = await DefaultCacheManager().getSingleFile(widget.photo.downloadPath(ref));
|
||||
await Share.shareXFiles([
|
||||
await SharePlus.instance.share(ShareParams(files: [
|
||||
XFile(
|
||||
file.path,
|
||||
),
|
||||
]);
|
||||
]));
|
||||
await file.delete();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue