Skip to content

armgit / ente

Public Imported from GitHub
0

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

Revert "Open shared feed taps in album instead of viewer"

ashilkn94a17b86bad0
diff --git a/mobile/apps/photos/lib/ui/social/feed_screen.dart b/mobile/apps/photos/lib/ui/social/feed_screen.dart
index 8cbf425c47..46678deb8c 100644
--- a/mobile/apps/photos/lib/ui/social/feed_screen.dart
+++ b/mobile/apps/photos/lib/ui/social/feed_screen.dart
@@ -575,13 +575,12 @@ class _FeedScreenState extends State<FeedScreen> {
item,
jumpToFileID: _jumpFileIDForSharedCollection(
type: item.type,
- fileID: item.fileID,
sharedFileIDs: item.sharedFileIDs,
),
),
- onSharedPhotoTap: (fileID) => _openSharedCollection(
+ onSharedPhotoTap: (fileID) => _openSharedPhotos(
item,
- jumpToFileID: fileID,
+ initialFileID: fileID,
),
);
},
@@ -625,14 +624,7 @@ class _FeedScreenState extends State<FeedScreen> {
_openPhoto(item);
break;
case FeedItemType.sharedPhoto:
- _openSharedCollection(
- item,
- jumpToFileID: _jumpFileIDForSharedCollection(
- type: item.type,
- fileID: item.fileID,
- sharedFileIDs: item.sharedFileIDs,
- ),
- );
+ _openSharedPhotos(item);
break;
case FeedItemType.sharedCollection:
_openSharedCollection(item);