mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(mobile): correct share option for local asset (#19233)
This commit is contained in:
parent
c6641d4859
commit
06f1d0dc4d
2 changed files with 9 additions and 10 deletions
|
|
@ -30,7 +30,7 @@ class ShareService {
|
|||
for (var asset in assets) {
|
||||
if (asset.isLocal) {
|
||||
// Prefer local assets to share
|
||||
File? f = await asset.local!.file;
|
||||
File? f = await asset.local!.originFile;
|
||||
downloadedXFiles.add(XFile(f!.path));
|
||||
} else if (asset.isRemote) {
|
||||
// Download remote asset otherwise
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue