Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix photo like feed items opening comments instead of photo

ashilkndc60ec3ad1c8
diff --git a/mobile/apps/photos/lib/ui/social/feed_screen.dart b/mobile/apps/photos/lib/ui/social/feed_screen.dart
index 1f752ba9d6..51a0a2b8dd 100644
--- a/mobile/apps/photos/lib/ui/social/feed_screen.dart
+++ b/mobile/apps/photos/lib/ui/social/feed_screen.dart
@@ -147,7 +147,9 @@ class _FeedScreenState extends State<FeedScreen> {
_anonDisplayNamesByCollection[item.collectionID] ??
const {},
isLastItem: isLastItem,
- onTap: () => _openComments(item),
+ onTap: () => item.type == FeedItemType.photoLike
+ ? _openPhoto(item)
+ : _openComments(item),
onThumbnailTap: () => _openPhoto(item),
);
},