diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-08-27 20:12:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-27 10:12:09 -0700 |
commit | 8a22584a8704fd8a8fcd43874285a76871218e40 (patch) | |
tree | ea5ddeec5a0947628e16e9b05bbb5b403078da9a /src | |
parent | 17cbf75747da83392a4347d98d4c72c537e1ad88 (diff) | |
download | voidsky-8a22584a8704fd8a8fcd43874285a76871218e40.tar.zst |
prevent android exposures to gate (#8916)
Diffstat (limited to 'src')
-rw-r--r-- | src/screens/Profile/Header/SuggestedFollows.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/screens/Profile/Header/SuggestedFollows.tsx b/src/screens/Profile/Header/SuggestedFollows.tsx index d005d888e..58a507e08 100644 --- a/src/screens/Profile/Header/SuggestedFollows.tsx +++ b/src/screens/Profile/Header/SuggestedFollows.tsx @@ -28,7 +28,6 @@ export function AnimatedProfileHeaderSuggestedFollows({ actorDid: string }) { const gate = useGate() - if (!gate('post_follow_profile_suggested_accounts')) return null /* NOTE (caidanw): * Android does not work well with this feature yet. @@ -37,6 +36,8 @@ export function AnimatedProfileHeaderSuggestedFollows({ **/ if (isAndroid) return null + if (!gate('post_follow_profile_suggested_accounts')) return null + return ( <AccordionAnimation isExpanded={isExpanded}> <ProfileHeaderSuggestedFollows actorDid={actorDid} /> |