Improve the visual clarity of labels on profiles and posts (#4262)

* Update PostAlerts rendering to show the avi of the labeler rather than the display name; also add size variations

* Update ProfileHeaderAlerts to match PostAlerts behavior
This commit is contained in:
Paul Frazee 2024-05-29 21:33:18 -07:00 committed by GitHub
parent 4cc55f05c2
commit 5fe1e171f0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 67 additions and 24 deletions

View file

@ -316,6 +316,7 @@ let PostThreadItemLoaded = ({
childContainerStyle={styles.contentHiderChild}>
<PostAlerts
modui={moderation.ui('contentView')}
size="large"
includeMute
style={[a.pt_2xs, a.pb_sm]}
/>
@ -517,7 +518,7 @@ let PostThreadItemLoaded = ({
<LabelsOnMyPost post={post} />
<PostAlerts
modui={moderation.ui('contentList')}
style={[a.pt_xs, a.pb_sm]}
style={[a.pt_2xs, a.pb_2xs]}
/>
{richText?.text ? (
<View style={styles.postTextContainer}>

View file

@ -368,7 +368,7 @@ let PostContent = ({
modui={moderation.ui('contentList')}
ignoreMute
childContainerStyle={styles.contentHiderChild}>
<PostAlerts modui={moderation.ui('contentList')} style={[a.pb_xs]} />
<PostAlerts modui={moderation.ui('contentList')} style={[a.py_2xs]} />
{richText.text ? (
<View style={styles.postTextContainer}>
<RichText