Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: only share image link when using Send Link

Prateek Sunal92f2a613d529
diff --git a/mobile/apps/photos/lib/utils/share_util.dart b/mobile/apps/photos/lib/utils/share_util.dart
index 4b9ab1dd79..d4a8e00e65 100644
--- a/mobile/apps/photos/lib/utils/share_util.dart
+++ b/mobile/apps/photos/lib/utils/share_util.dart
@@ -294,15 +294,9 @@ Future<void> shareAlbumLinkWithPlaceholder(
await shareText(url);
return;
} else {
- final placeholderBytes = await _createAlbumPlaceholder(
- filesInCollection,
- screenshotController,
- context,
- );
await dialog.hide();
- await shareImageAndUrl(
- placeholderBytes,
+ await shareText(
url,
context: context,
key: key,