Update WhoCanReply.tsx (#3720)
parent
790a9c4fad
commit
7f88ec7ca5
|
@ -6,16 +6,16 @@ import {
|
||||||
AppBskyGraphDefs,
|
AppBskyGraphDefs,
|
||||||
AtUri,
|
AtUri,
|
||||||
} from '@atproto/api'
|
} from '@atproto/api'
|
||||||
import {Trans} from '@lingui/macro'
|
|
||||||
import {usePalette} from '#/lib/hooks/usePalette'
|
|
||||||
import {Text} from '../util/text/Text'
|
|
||||||
import {TextLink} from '../util/Link'
|
|
||||||
import {makeProfileLink, makeListLink} from '#/lib/routes/links'
|
|
||||||
import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
|
import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
|
||||||
import {useColorSchemeStyle} from '#/lib/hooks/useColorSchemeStyle'
|
import {Trans} from '@lingui/macro'
|
||||||
import {useWebMediaQueries} from '#/lib/hooks/useWebMediaQueries'
|
|
||||||
|
|
||||||
|
import {useColorSchemeStyle} from '#/lib/hooks/useColorSchemeStyle'
|
||||||
|
import {usePalette} from '#/lib/hooks/usePalette'
|
||||||
|
import {useWebMediaQueries} from '#/lib/hooks/useWebMediaQueries'
|
||||||
|
import {makeListLink, makeProfileLink} from '#/lib/routes/links'
|
||||||
import {colors} from '#/lib/styles'
|
import {colors} from '#/lib/styles'
|
||||||
|
import {TextLink} from '../util/Link'
|
||||||
|
import {Text} from '../util/text/Text'
|
||||||
|
|
||||||
export function WhoCanReply({
|
export function WhoCanReply({
|
||||||
post,
|
post,
|
||||||
|
@ -143,6 +143,7 @@ function Rule({
|
||||||
<Trans>
|
<Trans>
|
||||||
users followed by{' '}
|
users followed by{' '}
|
||||||
<TextLink
|
<TextLink
|
||||||
|
type="sm"
|
||||||
href={makeProfileLink(post.author)}
|
href={makeProfileLink(post.author)}
|
||||||
text={`@${post.author.handle}`}
|
text={`@${post.author.handle}`}
|
||||||
style={pal.link}
|
style={pal.link}
|
||||||
|
@ -157,6 +158,7 @@ function Rule({
|
||||||
return (
|
return (
|
||||||
<Trans>
|
<Trans>
|
||||||
<TextLink
|
<TextLink
|
||||||
|
type="sm"
|
||||||
href={makeListLink(listUrip.hostname, listUrip.rkey)}
|
href={makeListLink(listUrip.hostname, listUrip.rkey)}
|
||||||
text={list.name}
|
text={list.name}
|
||||||
style={pal.link}
|
style={pal.link}
|
||||||
|
|
Loading…
Reference in New Issue