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> </Group>
{IS_INTERNAL && {IS_INTERNAL && gate('debug_subscriptions') && (
gate('debug_subscriptions', {
// Employee only
dangerouslyDisableExposureLogging: true,
}) && (
<> <>
<Text <Text
style={[ style={[
+1 -6
View File
@@ -177,12 +177,7 @@ export function AppearanceSettingsScreen({}: Props) {
onChange={onChangeFontScale} onChange={onChangeFontScale}
/> />
{isNative && {isNative && IS_INTERNAL && gate('debug_subscriptions') && (
IS_INTERNAL &&
gate('debug_subscriptions', {
// Employee only
dangerouslyDisableExposureLogging: true,
}) && (
<> <>
<SettingsList.Divider /> <SettingsList.Divider />
<AppIconSettingsListItem /> <AppIconSettingsListItem />
+1 -6
View File
@@ -87,12 +87,7 @@ let PostCtrls = ({
const {captureAction} = useProgressGuideControls() const {captureAction} = useProgressGuideControls()
const playHaptic = useHaptics() const playHaptic = useHaptics()
const gate = useGate() const gate = useGate()
const isDiscoverDebugUser = const isDiscoverDebugUser = IS_INTERNAL || gate('debug_show_feedcontext')
IS_INTERNAL ||
gate('debug_show_feedcontext', {
// Employee only
dangerouslyDisableExposureLogging: true,
})
const isBlocked = Boolean( const isBlocked = Boolean(
post.author.viewer?.blocking || post.author.viewer?.blocking ||
post.author.viewer?.blockedBy || post.author.viewer?.blockedBy ||