π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Show zero likes on own Space posts
Anand Baburajana7d4abc30ad5
diff --git a/web/apps/space/src/components/SpaceFileViewer.tsx b/web/apps/space/src/components/SpaceFileViewer.tsxindex 0a49b03c8d..adfba6ac38 100644--- a/web/apps/space/src/components/SpaceFileViewer.tsx+++ b/web/apps/space/src/components/SpaceFileViewer.tsx@@ -1724,7 +1724,7 @@ export const SpaceFileViewer: React.FC<SpaceFileViewerProps> = ({</Box></Box>)}- {showPhotoLikeCountButton && (activePhoto.likeCount ?? 0) > 0 && (+ {showPhotoLikeCountButton && (<Boxdata-space-viewer-bottom="true"sx={{diff --git a/web/apps/space/src/screens/HomeScreen.tsx b/web/apps/space/src/screens/HomeScreen.tsxindex 1785f6883c..22f29a9b9b 100644--- a/web/apps/space/src/screens/HomeScreen.tsx+++ b/web/apps/space/src/screens/HomeScreen.tsx@@ -651,7 +651,7 @@ const FeedItem: React.FC<FeedItemProps> = ({const dateLabel = formatSpaceDate(timestampMs);const postingDotCount = usePostingDotCount(timestampStatus == "posting");const displayCaption = caption?.trim();- const showOwnPostLikeButton = isOwnPost && postId > 0 && likeCount > 0;+ const showOwnPostLikeButton = isOwnPost && postId > 0;const showFooter =!isOwnPost || Boolean(displayCaption) || showOwnPostLikeButton;const canOpenAuthor = isOwnPost