Implement trending
This commit is contained in:
parent
486ce26a91
commit
22849fb4fc
6 changed files with 24 additions and 13 deletions
|
@ -70,7 +70,7 @@ export const FeedItem = observer(function FeedItem({
|
|||
} else if (item.isTrend) {
|
||||
action = 'Your post is trending with'
|
||||
icon = 'arrow-trend-up'
|
||||
iconStyle = [s.blue3]
|
||||
iconStyle = [s.red3]
|
||||
} else if (item.isReply) {
|
||||
action = 'replied to your post'
|
||||
icon = ['far', 'comment']
|
||||
|
@ -169,7 +169,7 @@ export const FeedItem = observer(function FeedItem({
|
|||
{ago(item.indexedAt)}
|
||||
</Text>
|
||||
</View>
|
||||
{item.isUpvote || item.isRepost ? (
|
||||
{item.isUpvote || item.isRepost || item.isTrend ? (
|
||||
<PostText uri={item.subjectUri} style={[s.gray5]} />
|
||||
) : (
|
||||
<></>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue