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
+28 -32
View File
@@ -86,38 +86,34 @@ export function AppIconSettingsScreen({}: Props) {
))} ))}
</Group> </Group>
{IS_INTERNAL && {IS_INTERNAL && gate('debug_subscriptions') && (
gate('debug_subscriptions', { <>
// Employee only <Text
dangerouslyDisableExposureLogging: true, style={[
}) && ( a.text_md,
<> a.mt_xl,
<Text a.mb_sm,
style={[ a.font_bold,
a.text_md, t.atoms.text_contrast_medium,
a.mt_xl, ]}>
a.mb_sm, <Trans>Bluesky+</Trans>
a.font_bold, </Text>
t.atoms.text_contrast_medium, <Group
]}> label={_(msg`Bluesky+ icons`)}
<Trans>Bluesky+</Trans> value={currentAppIcon}
</Text> onChange={onSetAppIcon}>
<Group {sets.core.map((icon, i) => (
label={_(msg`Bluesky+ icons`)} <Row
value={currentAppIcon} key={icon.id}
onChange={onSetAppIcon}> icon={icon}
{sets.core.map((icon, i) => ( isEnd={i === sets.core.length - 1}>
<Row <AppIcon icon={icon} key={icon.id} size={40} />
key={icon.id} <RowText>{icon.name}</RowText>
icon={icon} </Row>
isEnd={i === sets.core.length - 1}> ))}
<AppIcon icon={icon} key={icon.id} size={40} /> </Group>
<RowText>{icon.name}</RowText> </>
</Row> )}
))}
</Group>
</>
)}
</Layout.Content> </Layout.Content>
</Layout.Screen> </Layout.Screen>
) )
+6 -11
View File
@@ -177,17 +177,12 @@ export function AppearanceSettingsScreen({}: Props) {
onChange={onChangeFontScale} onChange={onChangeFontScale}
/> />
{isNative && {isNative && IS_INTERNAL && gate('debug_subscriptions') && (
IS_INTERNAL && <>
gate('debug_subscriptions', { <SettingsList.Divider />
// Employee only <AppIconSettingsListItem />
dangerouslyDisableExposureLogging: true, </>
}) && ( )}
<>
<SettingsList.Divider />
<AppIconSettingsListItem />
</>
)}
</Animated.View> </Animated.View>
</SettingsList.Container> </SettingsList.Container>
</Layout.Content> </Layout.Content>
+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 ||