diff options
author | kindgracekind <155408223+kindgracekind@users.noreply.github.com> | 2025-08-26 14:16:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-08-26 12:16:50 -0700 |
commit | 88e6dff484634b6d2ec9edb7caf6642cf4ebeb3d (patch) | |
tree | 86980d3e7dbc8a1f43b98fdab5cf59b3e2f4bd12 /src/view/com/posts/PostFeedItem.tsx | |
parent | 98d96bd28ba62e7cc6d4be39e4f1f146105cdccc (diff) | |
download | voidsky-88e6dff484634b6d2ec9edb7caf6642cf4ebeb3d.tar.zst |
Enable show less / more buttons for third party feeds (#8672)
Co-authored-by: hailey <hailey@blueskyweb.xyz> Co-authored-by: Hailey <me@haileyok.com>
Diffstat (limited to 'src/view/com/posts/PostFeedItem.tsx')
-rw-r--r-- | src/view/com/posts/PostFeedItem.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/view/com/posts/PostFeedItem.tsx b/src/view/com/posts/PostFeedItem.tsx index c2780a2a5..2f03a168b 100644 --- a/src/view/com/posts/PostFeedItem.tsx +++ b/src/view/com/posts/PostFeedItem.tsx @@ -176,7 +176,7 @@ let FeedItemInner = ({ const urip = new AtUri(post.uri) return makeProfileLink(post.author, 'post', urip.rkey) }, [post.uri, post.author]) - const {sendInteraction, feedDescriptor} = useFeedFeedbackContext() + const {sendInteraction, feedSourceInfo} = useFeedFeedbackContext() const onPressReply = () => { sendInteraction({ @@ -234,7 +234,7 @@ let FeedItemInner = ({ }) unstableCacheProfileView(queryClient, post.author) setUnstablePostSource(buildPostSourceKey(post.uri, post.author.handle), { - feed: feedDescriptor, + feedSourceInfo, post: { post, reason: AppBskyFeedDefs.isReasonRepost(reason) ? reason : undefined, |