mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
fix: ios export sqlite db (#22369)
This commit is contained in:
parent
37a3784d80
commit
5aa7ab5aeb
1 changed files with 6 additions and 1 deletions
|
|
@ -42,7 +42,12 @@ class SyncStatusAndActions extends HookConsumerWidget {
|
|||
|
||||
await dbFile.copy(exportFile.path);
|
||||
|
||||
await Share.shareXFiles([XFile(exportFile.path)], text: 'Immich Database Export');
|
||||
final size = MediaQuery.of(context).size;
|
||||
await Share.shareXFiles(
|
||||
[XFile(exportFile.path)],
|
||||
text: 'Immich Database Export',
|
||||
sharePositionOrigin: Rect.fromPoints(Offset.zero, Offset(size.width / 3, size.height)),
|
||||
);
|
||||
|
||||
Future.delayed(const Duration(seconds: 30), () async {
|
||||
if (await exportFile.exists()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue