Skip to content

Commit

Permalink
[mob] Share only image for live photos (#5118)
Browse files Browse the repository at this point in the history
## Description

## Tests
  • Loading branch information
ua741 authored Feb 20, 2025
2 parents cdfdc83 + 101a9d4 commit 098a452
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions mobile/lib/utils/share_util.dart
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,6 @@ Future<void> share(
pathFutures.add(
getFile(file, isOrigin: true).then((fetchedFile) => fetchedFile?.path),
);
if (file.fileType == FileType.livePhoto) {
pathFutures.add(
getFile(file, liveVideo: true)
.then((fetchedFile) => fetchedFile?.path),
);
}
}
final paths = await Future.wait(pathFutures);
await dialog.hide();
Expand Down

0 comments on commit 098a452

Please sign in to comment.