Skip to content

armgit / ente

Public Imported from GitHub
0

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

Include album names in person share links

AmanRajSinghMouryab4cfd1730502
diff --git a/mobile/apps/photos/lib/ui/sharing/share_person_sheet.dart b/mobile/apps/photos/lib/ui/sharing/share_person_sheet.dart
index 1b29c3b607..5a1e39851b 100644
--- a/mobile/apps/photos/lib/ui/sharing/share_person_sheet.dart
+++ b/mobile/apps/photos/lib/ui/sharing/share_person_sheet.dart
@@ -36,10 +36,12 @@ Future<void> showSharePersonSheet(
builder: (_) => _SharePersonSheet(person: person, files: files),
);
if (album == null || !context.mounted) return;
- await shareText(
+ await shareAlbumLink(
+ context,
CollectionsService.instance.getPublicUrl(album),
- context: context,
- key: shareButtonKey,
+ shareButtonKey,
+ albumName: album.displayName,
+ albumDescription: album.displayDescription,
);
}