prevent android exposures to gate (#8916)

This commit is contained in:
Samuel Newman
2025-08-27 20:12:09 +03:00
committed by GitHub
parent 17cbf75747
commit 8a22584a87
@@ -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} />