Enable image-only posts
This commit is contained in:
parent
e99eb7bfad
commit
3ae5f2886b
4 changed files with 47 additions and 30 deletions
|
@ -187,13 +187,17 @@ export const FeedItem = observer(function FeedItem({
|
|||
</Link>
|
||||
</View>
|
||||
)}
|
||||
<View style={styles.postTextContainer}>
|
||||
<RichText
|
||||
text={record.text}
|
||||
entities={record.entities}
|
||||
style={styles.postText}
|
||||
/>
|
||||
</View>
|
||||
{record.text ? (
|
||||
<View style={styles.postTextContainer}>
|
||||
<RichText
|
||||
text={record.text}
|
||||
entities={record.entities}
|
||||
style={styles.postText}
|
||||
/>
|
||||
</View>
|
||||
) : (
|
||||
<View style={{height: 5}} />
|
||||
)}
|
||||
<PostEmbeds embed={item.embed} style={styles.postEmbeds} />
|
||||
<PostCtrls
|
||||
replyCount={item.replyCount}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue