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} size={9}
style={[pal.textLight, s.mr5]} style={[pal.textLight, s.mr5]}
/> />
<Text type="sm" style={[pal.textLight, s.mr2]} lineHeight={1.2}> <Text
Reply to type="sm"
</Text> style={[pal.textLight, s.mr2]}
lineHeight={1.2}
numberOfLines={1}>
Reply to{' '}
<UserInfoText <UserInfoText
type="sm" type="sm"
did={replyAuthorDid} did={replyAuthorDid}
attr="displayName" attr="displayName"
style={[pal.textLight]} style={[pal.textLight]}
/> />
</Text>
</View> </View>
)} )}
<ContentHider <ContentHider

View File

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