Implement trending

This commit is contained in:
Paul Frazee 2022-11-11 13:10:05 -06:00
parent 486ce26a91
commit 22849fb4fc
6 changed files with 24 additions and 13 deletions

View file

@ -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]} />
) : (
<></>