prevent android exposures to gate (#8916)
This commit is contained in:
@@ -28,7 +28,6 @@ export function AnimatedProfileHeaderSuggestedFollows({
|
|||||||
actorDid: string
|
actorDid: string
|
||||||
}) {
|
}) {
|
||||||
const gate = useGate()
|
const gate = useGate()
|
||||||
if (!gate('post_follow_profile_suggested_accounts')) return null
|
|
||||||
|
|
||||||
/* NOTE (caidanw):
|
/* NOTE (caidanw):
|
||||||
* Android does not work well with this feature yet.
|
* Android does not work well with this feature yet.
|
||||||
@@ -37,6 +36,8 @@ export function AnimatedProfileHeaderSuggestedFollows({
|
|||||||
**/
|
**/
|
||||||
if (isAndroid) return null
|
if (isAndroid) return null
|
||||||
|
|
||||||
|
if (!gate('post_follow_profile_suggested_accounts')) return null
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<AccordionAnimation isExpanded={isExpanded}>
|
<AccordionAnimation isExpanded={isExpanded}>
|
||||||
<ProfileHeaderSuggestedFollows actorDid={actorDid} />
|
<ProfileHeaderSuggestedFollows actorDid={actorDid} />
|
||||||
|
|||||||
Reference in New Issue
Block a user