No need to disable exposures
This commit is contained in:
@@ -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>
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
@@ -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 ||
|
||||||
|
|||||||
Reference in New Issue
Block a user