diff options
author | Paul Frazee <pfrazee@gmail.com> | 2023-01-16 16:09:51 -0600 |
---|---|---|
committer | Paul Frazee <pfrazee@gmail.com> | 2023-01-16 16:09:51 -0600 |
commit | 7f8f53b08753adbc4f6ffdd3a61ec3a6bd3a4899 (patch) | |
tree | 82d6a8633bbe8f8b3892d21ac839192b435c4646 /src/view/com/post/Post.tsx | |
parent | 0e85b332769457850e08c1ee0aea30d083febf5a (diff) | |
download | voidsky-7f8f53b08753adbc4f6ffdd3a61ec3a6bd3a4899.tar.zst |
Move menu controls into post footers and improve meta info rendering
Diffstat (limited to 'src/view/com/post/Post.tsx')
-rw-r--r-- | src/view/com/post/Post.tsx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx index 032d5c147..c9f4d3a16 100644 --- a/src/view/com/post/Post.tsx +++ b/src/view/com/post/Post.tsx @@ -154,15 +154,10 @@ export const Post = observer(function Post({ </View> <View style={styles.layoutContent}> <PostMeta - itemHref={itemHref} - itemTitle={itemTitle} authorHref={authorHref} authorHandle={item.post.author.handle} authorDisplayName={item.post.author.displayName} timestamp={item.post.indexedAt} - isAuthor={item.post.author.did === store.me.did} - onCopyPostText={onCopyPostText} - onDeletePost={onDeletePost} /> {replyHref !== '' && ( <View style={[s.flexRow, s.mb2, {alignItems: 'center'}]}> @@ -198,6 +193,9 @@ export const Post = observer(function Post({ )} <PostEmbeds embed={item.post.embed} style={{marginBottom: 10}} /> <PostCtrls + itemHref={itemHref} + itemTitle={itemTitle} + isAuthor={item.post.author.did === store.me.did} replyCount={item.post.replyCount} repostCount={item.post.repostCount} upvoteCount={item.post.upvoteCount} @@ -206,6 +204,8 @@ export const Post = observer(function Post({ onPressReply={onPressReply} onPressToggleRepost={onPressToggleRepost} onPressToggleUpvote={onPressToggleUpvote} + onCopyPostText={onCopyPostText} + onDeletePost={onDeletePost} /> </View> </View> |