diff options
author | dan <dan.abramov@gmail.com> | 2024-05-22 18:19:07 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-22 18:19:07 +0100 |
commit | e6e7027d01b32363cdfc319a04b74064a9c38529 (patch) | |
tree | fa0e7f83fab4f8cf138ce4a52dd9caf939093a99 /src/screens/Profile/Header/ProfileHeaderStandard.tsx | |
parent | 3ca41e4efb24809dcc5e5a5c3e678eb561fd7ad6 (diff) | |
download | voidsky-e6e7027d01b32363cdfc319a04b74064a9c38529.tar.zst |
Cleanup gates (#4170)
* Unlaunch disable_poll_on_discover_v2 * Rm unused gates * Unlaunch autoexpand_suggestions_on_profile_follow_v2 * Launch disable_min_shell_on_foregrounding_v3
Diffstat (limited to 'src/screens/Profile/Header/ProfileHeaderStandard.tsx')
-rw-r--r-- | src/screens/Profile/Header/ProfileHeaderStandard.tsx | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/screens/Profile/Header/ProfileHeaderStandard.tsx b/src/screens/Profile/Header/ProfileHeaderStandard.tsx index 66141e782..f4b8d7705 100644 --- a/src/screens/Profile/Header/ProfileHeaderStandard.tsx +++ b/src/screens/Profile/Header/ProfileHeaderStandard.tsx @@ -10,9 +10,8 @@ import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' import {msg, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' -import {useGate} from '#/lib/statsig/statsig' import {logger} from '#/logger' -import {isIOS, isWeb} from '#/platform/detection' +import {isIOS} from '#/platform/detection' import {Shadow} from '#/state/cache/types' import {useModalControls} from '#/state/modals' import { @@ -81,7 +80,6 @@ let ProfileHeaderStandard = ({ }) }, [track, openModal, profile]) - const gate = useGate() const onPressFollow = () => { requireAuth(async () => { try { @@ -95,9 +93,6 @@ let ProfileHeaderStandard = ({ )}`, ), ) - if (isWeb && gate('autoexpand_suggestions_on_profile_follow_v2')) { - setShowSuggestedFollows(true) - } } catch (e: any) { if (e?.name !== 'AbortError') { logger.error('Failed to follow', {message: String(e)}) |