nit
This commit is contained in:
@@ -147,7 +147,7 @@ function PostInner({
|
|||||||
}, [queryClient, post.author])
|
}, [queryClient, post.author])
|
||||||
|
|
||||||
const {currentAccount} = useSession()
|
const {currentAccount} = useSession()
|
||||||
const isOwner = replyAuthorDid === currentAccount?.did
|
const isMe = replyAuthorDid === currentAccount?.did
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Link
|
<Link
|
||||||
@@ -191,7 +191,7 @@ function PostInner({
|
|||||||
style={[pal.textLight, s.mr2]}
|
style={[pal.textLight, s.mr2]}
|
||||||
lineHeight={1.2}
|
lineHeight={1.2}
|
||||||
numberOfLines={1}>
|
numberOfLines={1}>
|
||||||
{isOwner ? (
|
{isMe ? (
|
||||||
<Trans context="description">Reply to you</Trans>
|
<Trans context="description">Reply to you</Trans>
|
||||||
) : (
|
) : (
|
||||||
<Trans context="description">
|
<Trans context="description">
|
||||||
|
|||||||
@@ -436,7 +436,7 @@ function ReplyToLabel({
|
|||||||
}) {
|
}) {
|
||||||
const pal = usePalette('default')
|
const pal = usePalette('default')
|
||||||
const {currentAccount} = useSession()
|
const {currentAccount} = useSession()
|
||||||
const isOwner = profile.did === currentAccount?.did
|
const isMe = profile.did === currentAccount?.did
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<View style={[s.flexRow, s.mb2, s.alignCenter]}>
|
<View style={[s.flexRow, s.mb2, s.alignCenter]}>
|
||||||
@@ -450,7 +450,7 @@ function ReplyToLabel({
|
|||||||
style={[pal.textLight, s.mr2]}
|
style={[pal.textLight, s.mr2]}
|
||||||
lineHeight={1.2}
|
lineHeight={1.2}
|
||||||
numberOfLines={1}>
|
numberOfLines={1}>
|
||||||
{isOwner ? (
|
{isMe ? (
|
||||||
<Trans context="description">Reply to you</Trans>
|
<Trans context="description">Reply to you</Trans>
|
||||||
) : blocked ? (
|
) : blocked ? (
|
||||||
<Trans context="description">Reply to a blocked post</Trans>
|
<Trans context="description">Reply to a blocked post</Trans>
|
||||||
|
|||||||
Reference in New Issue
Block a user