Hide trending settings hint on web
This commit is contained in:
@@ -11,6 +11,7 @@ import {Link as InternalLink, type LinkProps} from '#/components/Link'
|
|||||||
import * as Prompt from '#/components/Prompt'
|
import * as Prompt from '#/components/Prompt'
|
||||||
import {Text} from '#/components/Typography'
|
import {Text} from '#/components/Typography'
|
||||||
import {type Metrics, useAnalytics} from '#/analytics'
|
import {type Metrics, useAnalytics} from '#/analytics'
|
||||||
|
import {IS_WEB} from '#/env'
|
||||||
import {type app} from '#/lexicons'
|
import {type app} from '#/lexicons'
|
||||||
|
|
||||||
export function TrendingTopicsPrompt({
|
export function TrendingTopicsPrompt({
|
||||||
@@ -42,15 +43,17 @@ export function TrendingTopicsPrompt({
|
|||||||
color="secondary"
|
color="secondary"
|
||||||
onPress={onConfirm}
|
onPress={onConfirm}
|
||||||
/>
|
/>
|
||||||
<Text
|
{!IS_WEB && (
|
||||||
style={[
|
<Text
|
||||||
a.text_sm,
|
style={[
|
||||||
a.text_center,
|
a.text_sm,
|
||||||
t.atoms.text_contrast_medium,
|
a.text_center,
|
||||||
a.py_xs,
|
t.atoms.text_contrast_medium,
|
||||||
]}>
|
a.py_xs,
|
||||||
<Trans>You can update this later from your settings.</Trans>
|
]}>
|
||||||
</Text>
|
<Trans>You can update this later from your settings.</Trans>
|
||||||
|
</Text>
|
||||||
|
)}
|
||||||
<Prompt.Cancel cta={l`Close`} />
|
<Prompt.Cancel cta={l`Close`} />
|
||||||
</Prompt.Actions>
|
</Prompt.Actions>
|
||||||
</Prompt.Outer>
|
</Prompt.Outer>
|
||||||
|
|||||||
Reference in New Issue
Block a user