π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Refine Space own-post like indicators
Anand Baburajan779a3c2930b0
diff --git a/web/apps/space/src/components/SpaceFileViewer.tsx b/web/apps/space/src/components/SpaceFileViewer.tsxindex d6d3281dd2..fdd39207ad 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 && (+ {showPhotoLikeCountButton && (activePhoto.likeCount ?? 0) > 0 && (<Boxdata-space-viewer-bottom="true"sx={{diff --git a/web/apps/space/src/components/SpacePostLikeAnimation.ts b/web/apps/space/src/components/SpacePostLikeAnimation.tsindex 707153ce16..67136fca58 100644--- a/web/apps/space/src/components/SpacePostLikeAnimation.ts+++ b/web/apps/space/src/components/SpacePostLikeAnimation.ts@@ -28,20 +28,20 @@ export const spacePostLikeButtonPop = keyframes`export const spacePostLikeHeartPop = keyframes`0% {opacity: 0.72;- transform: scale(0.58) rotate(-10deg);+ transform: scale(0.58);}44% {opacity: 1;- transform: scale(1.38) rotate(6deg);+ transform: scale(1.38);}72% {- transform: scale(0.93) rotate(-3deg);+ transform: scale(0.93);}100% {opacity: 1;- transform: scale(1) rotate(0deg);+ transform: scale(1);}`;diff --git a/web/apps/space/src/screens/HomeScreen.tsx b/web/apps/space/src/screens/HomeScreen.tsxindex 487a8b908b..eee6c2c2f9 100644--- a/web/apps/space/src/screens/HomeScreen.tsx+++ b/web/apps/space/src/screens/HomeScreen.tsx@@ -651,8 +651,9 @@ const FeedItem: React.FC<FeedItemProps> = ({const dateLabel = formatSpaceDate(timestampMs);const postingDotCount = usePostingDotCount(timestampStatus == "posting");const displayCaption = caption?.trim();- const showOwnPostLikeButton = isOwnPost && postId > 0;- const showFooter = !isOwnPost || Boolean(displayCaption) || showOwnPostLikeButton;+ const showOwnPostLikeButton = isOwnPost && postId > 0 && likeCount > 0;+ const showFooter =+ !isOwnPost || Boolean(displayCaption) || showOwnPostLikeButton;const canOpenAuthor = isOwnPost? Boolean(onOpenProfile): Boolean(onOpenFriend);