Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob] Share only image for live photos

Neeraj Gupta101a9d4b5d5c
diff --git a/mobile/lib/utils/share_util.dart b/mobile/lib/utils/share_util.dart
index 3ec147798d..694bc6cff6 100644
--- a/mobile/lib/utils/share_util.dart
+++ b/mobile/lib/utils/share_util.dart
@@ -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();