Prevent reply to from cascading (#610)

zio/stable
Ollie H 2023-05-11 08:38:54 -07:00 committed by GitHub
parent 0192923ef3
commit 19d6ded631
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 16 deletions

View File

@ -235,15 +235,19 @@ const PostLoaded = observer(
size={9}
style={[pal.textLight, s.mr5]}
/>
<Text type="sm" style={[pal.textLight, s.mr2]} lineHeight={1.2}>
Reply to
</Text>
<UserInfoText
<Text
type="sm"
did={replyAuthorDid}
attr="displayName"
style={[pal.textLight]}
/>
style={[pal.textLight, s.mr2]}
lineHeight={1.2}
numberOfLines={1}>
Reply to{' '}
<UserInfoText
type="sm"
did={replyAuthorDid}
attr="displayName"
style={[pal.textLight]}
/>
</Text>
</View>
)}
<ContentHider

View File

@ -221,15 +221,19 @@ export const FeedItem = observer(function ({
s.mr5,
]}
/>
<Text type="md" style={[pal.textLight, s.mr2]} lineHeight={1.2}>
Reply to
</Text>
<UserInfoText
<Text
type="md"
did={replyAuthorDid}
attr="displayName"
style={[pal.textLight, s.ml2]}
/>
style={[pal.textLight, s.mr2]}
lineHeight={1.2}
numberOfLines={1}>
Reply to{' '}
<UserInfoText
type="md"
did={replyAuthorDid}
attr="displayName"
style={[pal.textLight, s.ml2]}
/>
</Text>
</View>
)}
<ContentHider