This commit is contained in:
Hailey
2024-07-11 18:54:34 -07:00
parent dad7a5f698
commit 0b26a83c63
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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">
+2 -2
View File
@@ -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>