diff options
Diffstat (limited to 'src/view/com/post/Post.tsx')
-rw-r--r-- | src/view/com/post/Post.tsx | 62 |
1 files changed, 32 insertions, 30 deletions
diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx index a05339d4d..425a2257f 100644 --- a/src/view/com/post/Post.tsx +++ b/src/view/com/post/Post.tsx @@ -210,38 +210,40 @@ function PostInner({ </View> )} <LabelsOnMyPost post={post} /> - <ContentHider - modui={moderation.ui('contentView')} - style={styles.contentHider} - childContainerStyle={styles.contentHiderChild}> - <PostAlerts + {false && ( + <ContentHider modui={moderation.ui('contentView')} - style={[a.py_xs]} - /> - {richText.text ? ( - <View style={styles.postTextContainer}> - <RichText - enableTags - testID="postText" - 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="#" + style={styles.contentHider} + childContainerStyle={styles.contentHiderChild}> + <PostAlerts + modui={moderation.ui('contentView')} + style={[a.py_xs]} /> - ) : undefined} - {post.embed ? ( - <PostEmbeds embed={post.embed} moderation={moderation} /> - ) : null} - </ContentHider> + {richText.text ? ( + <View style={styles.postTextContainer}> + <RichText + enableTags + testID="postText" + 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} + {post.embed ? ( + <PostEmbeds embed={post.embed} moderation={moderation} /> + ) : null} + </ContentHider> + )} <PostCtrls post={post} record={record} |