From 2eb0d8c095b70b7ec39b7a1acbd126457dea9322 Mon Sep 17 00:00:00 2001
From: Paul Frazee <pfrazee@gmail.com>
Date: Tue, 2 May 2023 23:29:16 -0500
Subject: [APP-611] Add nice date to expanded post view (#567)

* Add nice date to expanded post view

* Fix styles
---
 src/view/com/post-thread/PostThreadItem.tsx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'src/view/com/post-thread/PostThreadItem.tsx')

diff --git a/src/view/com/post-thread/PostThreadItem.tsx b/src/view/com/post-thread/PostThreadItem.tsx
index 191151193..953e67b18 100644
--- a/src/view/com/post-thread/PostThreadItem.tsx
+++ b/src/view/com/post-thread/PostThreadItem.tsx
@@ -15,7 +15,7 @@ import {PostDropdownBtn} from '../util/forms/DropdownButton'
 import * as Toast from '../util/Toast'
 import {UserAvatar} from '../util/UserAvatar'
 import {s} from 'lib/styles'
-import {ago} from 'lib/strings/time'
+import {ago, niceDate} from 'lib/strings/time'
 import {sanitizeDisplayName} from 'lib/strings/display-names'
 import {pluralize} from 'lib/strings/helpers'
 import {useStores} from 'state/index'
@@ -235,7 +235,10 @@ export const PostThreadItem = observer(function PostThreadItem({
             ) : undefined}
             <PostEmbeds embed={item.post.embed} style={s.mb10} />
           </ContentHider>
-          {item._isHighlightedPost && hasEngagement ? (
+          <View style={[s.mt2, s.mb10]}>
+            <Text style={pal.textLight}>{niceDate(item.post.indexedAt)}</Text>
+          </View>
+          {hasEngagement ? (
             <View style={[styles.expandedInfo, pal.border]}>
               {item.post.repostCount ? (
                 <Link
-- 
cgit 1.4.1

