No need to disable exposures

This commit is contained in:
Dan Abramov
2024-12-16 22:15:04 +00:00
parent 653eee9f07
commit 0c1f35e242
3 changed files with 35 additions and 49 deletions
@@ -86,11 +86,7 @@ export function AppIconSettingsScreen({}: Props) {
))}
</Group>
{IS_INTERNAL &&
gate('debug_subscriptions', {
// Employee only
dangerouslyDisableExposureLogging: true,
}) && (
{IS_INTERNAL && gate('debug_subscriptions') && (
<>
<Text
style={[
+1 -6
View File
@@ -177,12 +177,7 @@ export function AppearanceSettingsScreen({}: Props) {
onChange={onChangeFontScale}
/>
{isNative &&
IS_INTERNAL &&
gate('debug_subscriptions', {
// Employee only
dangerouslyDisableExposureLogging: true,
}) && (
{isNative && IS_INTERNAL && gate('debug_subscriptions') && (
<>
<SettingsList.Divider />
<AppIconSettingsListItem />
+1 -6
View File
@@ -87,12 +87,7 @@ let PostCtrls = ({
const {captureAction} = useProgressGuideControls()
const playHaptic = useHaptics()
const gate = useGate()
const isDiscoverDebugUser =
IS_INTERNAL ||
gate('debug_show_feedcontext', {
// Employee only
dangerouslyDisableExposureLogging: true,
})
const isDiscoverDebugUser = IS_INTERNAL || gate('debug_show_feedcontext')
const isBlocked = Boolean(
post.author.viewer?.blocking ||
post.author.viewer?.blockedBy ||