PReviewable avatar in posts
This commit is contained in:
@@ -252,6 +252,7 @@ let PostThreadItemLoaded = ({
|
|||||||
handle={post.author.handle}
|
handle={post.author.handle}
|
||||||
avatar={post.author.avatar}
|
avatar={post.author.avatar}
|
||||||
moderation={moderation.ui('avatar')}
|
moderation={moderation.ui('avatar')}
|
||||||
|
type={post.author.associated?.labeler ? 'labeler' : 'user'}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
<View style={styles.layoutContent}>
|
<View style={styles.layoutContent}>
|
||||||
@@ -448,6 +449,7 @@ let PostThreadItemLoaded = ({
|
|||||||
handle={post.author.handle}
|
handle={post.author.handle}
|
||||||
avatar={post.author.avatar}
|
avatar={post.author.avatar}
|
||||||
moderation={moderation.ui('avatar')}
|
moderation={moderation.ui('avatar')}
|
||||||
|
type={post.author.associated?.labeler ? 'labeler' : 'user'}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{showChildReplyLine && (
|
{showChildReplyLine && (
|
||||||
|
|||||||
@@ -140,6 +140,7 @@ function PostInner({
|
|||||||
handle={post.author.handle}
|
handle={post.author.handle}
|
||||||
avatar={post.author.avatar}
|
avatar={post.author.avatar}
|
||||||
moderation={moderation.ui('avatar')}
|
moderation={moderation.ui('avatar')}
|
||||||
|
type={post.author.associated?.labeler ? 'labeler' : 'user'}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
<View style={styles.layoutContent}>
|
<View style={styles.layoutContent}>
|
||||||
|
|||||||
@@ -239,6 +239,7 @@ let FeedItemInner = ({
|
|||||||
handle={post.author.handle}
|
handle={post.author.handle}
|
||||||
avatar={post.author.avatar}
|
avatar={post.author.avatar}
|
||||||
moderation={moderation.ui('avatar')}
|
moderation={moderation.ui('avatar')}
|
||||||
|
type={post.author.associated?.labeler ? 'labeler' : 'user'}
|
||||||
/>
|
/>
|
||||||
{isThreadParent && (
|
{isThreadParent && (
|
||||||
<View
|
<View
|
||||||
|
|||||||
Reference in New Issue
Block a user