From ea932534df4c105178ee2e9ab6d31eb079e3887f Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 27 Jan 2025 13:37:44 -0800 Subject: no follow self (#7606) --- src/screens/VideoFeed/index.tsx | 62 +++++++++++++++++++++-------------------- 1 file changed, 32 insertions(+), 30 deletions(-) (limited to 'src') diff --git a/src/screens/VideoFeed/index.tsx b/src/screens/VideoFeed/index.tsx index da842d921..743ca5b40 100644 --- a/src/screens/VideoFeed/index.tsx +++ b/src/screens/VideoFeed/index.tsx @@ -683,6 +683,7 @@ function Overlay({ const {_} = useLingui() const t = useTheme() const {openComposer} = useComposerControls() + const {currentAccount} = useSession() const navigation = useNavigation() const seekingAnimationSV = useSharedValue(0) @@ -790,37 +791,38 @@ function Overlay({ {/* show button based on non-reactive version, so it doesn't hide on press */} - {!post.author.viewer?.following && ( - - )} + + {profile.viewer?.following ? ( + Following + ) : ( + Follow + )} + + + )} {record?.text?.trim() && (