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