From 88e6dff484634b6d2ec9edb7caf6642cf4ebeb3d Mon Sep 17 00:00:00 2001 From: kindgracekind <155408223+kindgracekind@users.noreply.github.com> Date: Tue, 26 Aug 2025 14:16:50 -0500 Subject: Enable show less / more buttons for third party feeds (#8672) Co-authored-by: hailey Co-authored-by: Hailey --- src/screens/PostThread/components/ThreadItemAnchor.tsx | 2 +- src/screens/PostThread/index.tsx | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) (limited to 'src/screens/PostThread') diff --git a/src/screens/PostThread/components/ThreadItemAnchor.tsx b/src/screens/PostThread/components/ThreadItemAnchor.tsx index 7b0d567b8..b59397b0b 100644 --- a/src/screens/PostThread/components/ThreadItemAnchor.tsx +++ b/src/screens/PostThread/components/ThreadItemAnchor.tsx @@ -180,7 +180,7 @@ const ThreadItemAnchorInner = memo(function ThreadItemAnchorInner({ const {openComposer} = useOpenComposer() const {currentAccount, hasSession} = useSession() const {gtTablet} = useBreakpoints() - const feedFeedback = useFeedFeedback(postSource?.feed, hasSession) + const feedFeedback = useFeedFeedback(postSource?.feedSourceInfo, hasSession) const post = postShadow const record = item.value.post.record diff --git a/src/screens/PostThread/index.tsx b/src/screens/PostThread/index.tsx index 9cb4173e3..c27f2c322 100644 --- a/src/screens/PostThread/index.tsx +++ b/src/screens/PostThread/index.tsx @@ -49,7 +49,10 @@ export function PostThread({uri}: {uri: string}) { const initialNumToRender = useInitialNumToRender() const {height: windowHeight} = useWindowDimensions() const anchorPostSource = useUnstablePostSource(uri) - const feedFeedback = useFeedFeedback(anchorPostSource?.feed, hasSession) + const feedFeedback = useFeedFeedback( + anchorPostSource?.feedSourceInfo, + hasSession, + ) /* * One query to rule them all -- cgit 1.4.1