From 4e56d24a9d72da4e7c3ddac6ae85b3913f2b365b Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Wed, 17 May 2023 14:34:37 -0500 Subject: [PATCH] Dont show save button in embed cards --- src/view/com/feeds/CustomFeed.tsx | 31 +++++++++++++++------------- src/view/com/feeds/SavedFeedItem.tsx | 7 ++++++- src/view/screens/Profile.tsx | 2 +- 3 files changed, 24 insertions(+), 16 deletions(-) diff --git a/src/view/com/feeds/CustomFeed.tsx b/src/view/com/feeds/CustomFeed.tsx index cc9b6608..e4e0d50c 100644 --- a/src/view/com/feeds/CustomFeed.tsx +++ b/src/view/com/feeds/CustomFeed.tsx @@ -24,11 +24,13 @@ export const CustomFeed = observer( ({ item, style, + showSaveBtn = false, showLikes = false, reloadOnFocus = false, }: { item: CustomFeedModel style?: StyleProp + showSaveBtn?: boolean showLikes?: boolean reloadOnFocus?: boolean }) => { @@ -66,21 +68,22 @@ export const CustomFeed = observer( {item.data.displayName ?? 'Feed name'} - by @{item.data.creator.handle} - - -