Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] fix: Allow uploads when link shared from collect photos

Aman Raj Singh Mourya6083992bfda9
diff --git a/mobile/lib/ui/viewer/gallery/collect_photos_bottom_buttons.dart b/mobile/lib/ui/viewer/gallery/collect_photos_bottom_buttons.dart
index 0d6b633040..df90b8a10c 100644
--- a/mobile/lib/ui/viewer/gallery/collect_photos_bottom_buttons.dart
+++ b/mobile/lib/ui/viewer/gallery/collect_photos_bottom_buttons.dart
@@ -68,7 +68,11 @@ class _EmptyAlbumStateNewState extends State<CollectPhotosBottomButtons> {
if (hasUrl) {
await _shareAlbumUrl();
} else {
- final bool result = await collectionActions.enableUrl(context, widget.c);
+ final bool result = await collectionActions.enableUrl(
+ context,
+ widget.c,
+ enableCollect: true,
+ );
if (result) {
await _shareAlbumUrl();
} else {