`true` (#4833)
parent
401e92ed42
commit
3914025227
|
@ -209,40 +209,38 @@ function PostInner({
|
||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
<LabelsOnMyPost post={post} />
|
<LabelsOnMyPost post={post} />
|
||||||
{false && (
|
<ContentHider
|
||||||
<ContentHider
|
modui={moderation.ui('contentView')}
|
||||||
|
style={styles.contentHider}
|
||||||
|
childContainerStyle={styles.contentHiderChild}>
|
||||||
|
<PostAlerts
|
||||||
modui={moderation.ui('contentView')}
|
modui={moderation.ui('contentView')}
|
||||||
style={styles.contentHider}
|
style={[a.py_xs]}
|
||||||
childContainerStyle={styles.contentHiderChild}>
|
/>
|
||||||
<PostAlerts
|
{richText.text ? (
|
||||||
modui={moderation.ui('contentView')}
|
<View style={styles.postTextContainer}>
|
||||||
style={[a.py_xs]}
|
<RichText
|
||||||
/>
|
enableTags
|
||||||
{richText.text ? (
|
testID="postText"
|
||||||
<View style={styles.postTextContainer}>
|
value={richText}
|
||||||
<RichText
|
numberOfLines={limitLines ? MAX_POST_LINES : undefined}
|
||||||
enableTags
|
style={[a.flex_1, a.text_md]}
|
||||||
testID="postText"
|
authorHandle={post.author.handle}
|
||||||
value={richText}
|
|
||||||
numberOfLines={limitLines ? MAX_POST_LINES : undefined}
|
|
||||||
style={[a.flex_1, a.text_md]}
|
|
||||||
authorHandle={post.author.handle}
|
|
||||||
/>
|
|
||||||
</View>
|
|
||||||
) : undefined}
|
|
||||||
{limitLines ? (
|
|
||||||
<TextLink
|
|
||||||
text={_(msg`Show More`)}
|
|
||||||
style={pal.link}
|
|
||||||
onPress={onPressShowMore}
|
|
||||||
href="#"
|
|
||||||
/>
|
/>
|
||||||
) : undefined}
|
</View>
|
||||||
{post.embed ? (
|
) : undefined}
|
||||||
<PostEmbeds embed={post.embed} moderation={moderation} />
|
{limitLines ? (
|
||||||
) : null}
|
<TextLink
|
||||||
</ContentHider>
|
text={_(msg`Show More`)}
|
||||||
)}
|
style={pal.link}
|
||||||
|
onPress={onPressShowMore}
|
||||||
|
href="#"
|
||||||
|
/>
|
||||||
|
) : undefined}
|
||||||
|
{post.embed ? (
|
||||||
|
<PostEmbeds embed={post.embed} moderation={moderation} />
|
||||||
|
) : null}
|
||||||
|
</ContentHider>
|
||||||
<PostCtrls
|
<PostCtrls
|
||||||
post={post}
|
post={post}
|
||||||
record={record}
|
record={record}
|
||||||
|
|
Loading…
Reference in New Issue