diff options
author | Hailey <me@haileyok.com> | 2024-10-17 12:54:05 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-17 12:54:05 -0700 |
commit | e9be8f4574ad5e2da145b24a2af4258fd4d7769a (patch) | |
tree | df93413d85e3ce2f9580390033df9115957eb1cd /src/view/com/util/post-ctrls/PostCtrls.tsx | |
parent | 0d5af050d3c90172a07486961ea1180b240813ef (diff) | |
download | voidsky-e9be8f4574ad5e2da145b24a2af4258fd4d7769a.tar.zst |
Disable feed debug gate due to EME (#5815)
Diffstat (limited to 'src/view/com/util/post-ctrls/PostCtrls.tsx')
-rw-r--r-- | src/view/com/util/post-ctrls/PostCtrls.tsx | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/view/com/util/post-ctrls/PostCtrls.tsx b/src/view/com/util/post-ctrls/PostCtrls.tsx index 8f93538c6..48d081f79 100644 --- a/src/view/com/util/post-ctrls/PostCtrls.tsx +++ b/src/view/com/util/post-ctrls/PostCtrls.tsx @@ -17,13 +17,13 @@ import { import {msg, plural} from '@lingui/macro' import {useLingui} from '@lingui/react' +import {IS_INTERNAL} from '#/lib/app-info' import {POST_CTRL_HITSLOP} from '#/lib/constants' import {CountWheel} from '#/lib/custom-animations/CountWheel' import {AnimatedLikeIcon} from '#/lib/custom-animations/LikeIcon' import {useHaptics} from '#/lib/haptics' import {makeProfileLink} from '#/lib/routes/links' import {shareUrl} from '#/lib/sharing' -import {useGate} from '#/lib/statsig/statsig' import {toShareUrl} from '#/lib/strings/url-helpers' import {Shadow} from '#/state/cache/types' import {useFeedFeedbackContext} from '#/state/feed-feedback' @@ -85,7 +85,6 @@ let PostCtrls = ({ const {sendInteraction} = useFeedFeedbackContext() const {captureAction} = useProgressGuideControls() const playHaptic = useHaptics() - const gate = useGate() const isBlocked = Boolean( post.author.viewer?.blocking || post.author.viewer?.blockedBy || @@ -375,7 +374,7 @@ let PostCtrls = ({ threadgateRecord={threadgateRecord} /> </View> - {gate('debug_show_feedcontext') && feedContext && ( + {IS_INTERNAL && feedContext && ( <Pressable accessible={false} style={{ |