mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-18 10:52:16 +03:00
put back community tag in feed, kept removed from post details
This commit is contained in:
parent
d2627491d8
commit
408fbc87a4
@ -89,6 +89,16 @@ class PostHeaderDescription extends PureComponent {
|
|||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
<View style={styles.rightContainer}>
|
<View style={styles.rightContainer}>
|
||||||
|
{content && (
|
||||||
|
<TouchableOpacity>
|
||||||
|
<Tag
|
||||||
|
isPostCardTag={!isPromoted}
|
||||||
|
isPin
|
||||||
|
value={content.category}
|
||||||
|
communityTitle={content.community_title}
|
||||||
|
/>
|
||||||
|
</TouchableOpacity>
|
||||||
|
)}
|
||||||
{!!tag && (
|
{!!tag && (
|
||||||
<TouchableOpacity onPress={() => tagOnPress && tagOnPress()}>
|
<TouchableOpacity onPress={() => tagOnPress && tagOnPress()}>
|
||||||
<Tag isPostCardTag={!isPromoted} isPin value={tag} />
|
<Tag isPostCardTag={!isPromoted} isPin value={tag} />
|
||||||
|
@ -221,7 +221,6 @@ const PostDisplayView = ({
|
|||||||
name={author || post.author}
|
name={author || post.author}
|
||||||
currentAccountUsername={name}
|
currentAccountUsername={name}
|
||||||
reputation={post.author_reputation}
|
reputation={post.author_reputation}
|
||||||
content={post}
|
|
||||||
size={36}
|
size={36}
|
||||||
/>
|
/>
|
||||||
<PostBody body={post.body} onLoadEnd={_handleOnPostBodyLoad} />
|
<PostBody body={post.body} onLoadEnd={_handleOnPostBodyLoad} />
|
||||||
|
Loading…
Reference in New Issue
Block a user