Pass post to all PostAlerts
This commit is contained in:
@@ -321,7 +321,11 @@ export function QuoteEmbed({
|
|||||||
linkDisabled
|
linkDisabled
|
||||||
/>
|
/>
|
||||||
{moderation ? (
|
{moderation ? (
|
||||||
<PostAlerts modui={moderation.ui('contentView')} style={[a.py_xs]} />
|
<PostAlerts
|
||||||
|
post={quote}
|
||||||
|
modui={moderation.ui('contentView')}
|
||||||
|
style={[a.py_xs]}
|
||||||
|
/>
|
||||||
) : null}
|
) : null}
|
||||||
{richText ? (
|
{richText ? (
|
||||||
<RichText
|
<RichText
|
||||||
|
|||||||
@@ -240,6 +240,7 @@ function MessageInputPostEmbed({
|
|||||||
</View>
|
</View>
|
||||||
<ContentHider modui={moderation.ui('contentView')}>
|
<ContentHider modui={moderation.ui('contentView')}>
|
||||||
<PostAlerts
|
<PostAlerts
|
||||||
|
post={post}
|
||||||
modui={moderation.ui('contentView')}
|
modui={moderation.ui('contentView')}
|
||||||
style={a.py_xs}
|
style={a.py_xs}
|
||||||
size="sm"
|
size="sm"
|
||||||
|
|||||||
@@ -310,6 +310,7 @@ const ThreadItemPostInner = memo(function ThreadItemPostInner({
|
|||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
<PostAlerts
|
<PostAlerts
|
||||||
|
post={post}
|
||||||
modui={moderation.ui('contentList')}
|
modui={moderation.ui('contentList')}
|
||||||
style={[a.pb_2xs]}
|
style={[a.pb_2xs]}
|
||||||
additionalCauses={additionalPostAlerts}
|
additionalCauses={additionalPostAlerts}
|
||||||
|
|||||||
@@ -340,6 +340,7 @@ const ThreadItemTreePostInner = memo(function ThreadItemTreePostInner({
|
|||||||
<ThreadItemTreeReplyChildReplyLine item={item} />
|
<ThreadItemTreeReplyChildReplyLine item={item} />
|
||||||
<View style={[a.flex_1, a.pl_2xs]}>
|
<View style={[a.flex_1, a.pl_2xs]}>
|
||||||
<PostAlerts
|
<PostAlerts
|
||||||
|
post={post}
|
||||||
modui={moderation.ui('contentList')}
|
modui={moderation.ui('contentList')}
|
||||||
style={[a.pb_2xs]}
|
style={[a.pb_2xs]}
|
||||||
additionalCauses={additionalPostAlerts}
|
additionalCauses={additionalPostAlerts}
|
||||||
|
|||||||
@@ -219,6 +219,7 @@ function PostInner({
|
|||||||
style={styles.contentHider}
|
style={styles.contentHider}
|
||||||
childContainerStyle={styles.contentHiderChild}>
|
childContainerStyle={styles.contentHiderChild}>
|
||||||
<PostAlerts
|
<PostAlerts
|
||||||
|
post={post}
|
||||||
modui={moderation.ui('contentView')}
|
modui={moderation.ui('contentView')}
|
||||||
style={[a.pb_xs]}
|
style={[a.pb_xs]}
|
||||||
/>
|
/>
|
||||||
|
|||||||
@@ -493,6 +493,7 @@ let PostContent = ({
|
|||||||
ignoreMute
|
ignoreMute
|
||||||
childContainerStyle={styles.contentHiderChild}>
|
childContainerStyle={styles.contentHiderChild}>
|
||||||
<PostAlerts
|
<PostAlerts
|
||||||
|
post={post}
|
||||||
modui={moderation.ui('contentList')}
|
modui={moderation.ui('contentList')}
|
||||||
style={[a.pb_xs]}
|
style={[a.pb_xs]}
|
||||||
additionalCauses={additionalPostAlerts}
|
additionalCauses={additionalPostAlerts}
|
||||||
|
|||||||
Reference in New Issue
Block a user