Couple tweaks
This commit is contained in:
@@ -677,33 +677,29 @@ function BackdatedPostIndicator({post}: {post: AppBskyFeedDefs.PostView}) {
|
|||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
<Prompt.Outer control={control}>
|
<Prompt.Outer control={control}>
|
||||||
<Prompt.TitleText>
|
<Prompt.Content>
|
||||||
<Trans>Archived post</Trans>
|
<Prompt.TitleText>
|
||||||
</Prompt.TitleText>
|
<Trans>Archived post</Trans>
|
||||||
<Prompt.DescriptionText>
|
</Prompt.TitleText>
|
||||||
<Trans>
|
<Prompt.DescriptionText>
|
||||||
This post claims to have been created on{' '}
|
<Trans>
|
||||||
<RNText style={[a.font_semi_bold]}>
|
This post claims to have been created on{' '}
|
||||||
{niceDate(i18n, createdAt)}
|
<RNText style={[a.font_semi_bold]}>
|
||||||
</RNText>
|
{niceDate(i18n, createdAt)}
|
||||||
, but was first seen by Bluesky on{' '}
|
</RNText>
|
||||||
<RNText style={[a.font_semi_bold]}>
|
, but was first seen by Bluesky on{' '}
|
||||||
{niceDate(i18n, indexedAt)}
|
<RNText style={[a.font_semi_bold]}>
|
||||||
</RNText>
|
{niceDate(i18n, indexedAt)}
|
||||||
.
|
</RNText>
|
||||||
</Trans>
|
.
|
||||||
</Prompt.DescriptionText>
|
</Trans>
|
||||||
<Text
|
</Prompt.DescriptionText>
|
||||||
style={[
|
<Prompt.DescriptionText>
|
||||||
a.text_md,
|
<Trans>
|
||||||
a.leading_snug,
|
Bluesky cannot confirm the authenticity of the claimed date.
|
||||||
t.atoms.text_contrast_high,
|
</Trans>
|
||||||
a.pb_xl,
|
</Prompt.DescriptionText>
|
||||||
]}>
|
</Prompt.Content>
|
||||||
<Trans>
|
|
||||||
Bluesky cannot confirm the authenticity of the claimed date.
|
|
||||||
</Trans>
|
|
||||||
</Text>
|
|
||||||
<Prompt.Actions>
|
<Prompt.Actions>
|
||||||
<Prompt.Action cta={_(msg`Okay`)} onPress={() => {}} />
|
<Prompt.Action cta={_(msg`Okay`)} onPress={() => {}} />
|
||||||
</Prompt.Actions>
|
</Prompt.Actions>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import {useLingui} from '@lingui/react'
|
|||||||
|
|
||||||
import {logger} from '#/logger'
|
import {logger} from '#/logger'
|
||||||
import {useAgent, useSessionApi} from '#/state/session'
|
import {useAgent, useSessionApi} from '#/state/session'
|
||||||
import {atoms as a, useBreakpoints, useTheme} from '#/alf'
|
import {atoms as a, useTheme} from '#/alf'
|
||||||
import {Button, ButtonIcon, ButtonText} from '#/components/Button'
|
import {Button, ButtonIcon, ButtonText} from '#/components/Button'
|
||||||
import {type DialogOuterProps} from '#/components/Dialog'
|
import {type DialogOuterProps} from '#/components/Dialog'
|
||||||
import {Divider} from '#/components/Divider'
|
import {Divider} from '#/components/Divider'
|
||||||
@@ -32,7 +32,6 @@ function DeactivateAccountDialogInner({
|
|||||||
control: DialogOuterProps['control']
|
control: DialogOuterProps['control']
|
||||||
}) {
|
}) {
|
||||||
const t = useTheme()
|
const t = useTheme()
|
||||||
const {gtMobile} = useBreakpoints()
|
|
||||||
const {_} = useLingui()
|
const {_} = useLingui()
|
||||||
const agent = useAgent()
|
const agent = useAgent()
|
||||||
const {logoutCurrentAccount} = useSessionApi()
|
const {logoutCurrentAccount} = useSessionApi()
|
||||||
@@ -100,9 +99,8 @@ function DeactivateAccountDialogInner({
|
|||||||
</View>
|
</View>
|
||||||
<Prompt.Actions>
|
<Prompt.Actions>
|
||||||
<Button
|
<Button
|
||||||
variant="solid"
|
|
||||||
color="negative"
|
color="negative"
|
||||||
size={gtMobile ? 'small' : 'large'}
|
size="large"
|
||||||
label={_(msg`Yes, deactivate`)}
|
label={_(msg`Yes, deactivate`)}
|
||||||
onPress={handleDeactivate}>
|
onPress={handleDeactivate}>
|
||||||
<ButtonText>{_(msg`Yes, deactivate`)}</ButtonText>
|
<ButtonText>{_(msg`Yes, deactivate`)}</ButtonText>
|
||||||
|
|||||||
Reference in New Issue
Block a user