about summary refs log tree commit diff
path: root/src/view/com/feeds/CustomFeed.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2023-05-17 20:33:58 -0500
committerPaul Frazee <pfrazee@gmail.com>2023-05-17 20:33:58 -0500
commitf0003d193182bd70935ca6b7e67897922297deed (patch)
tree84deae13e9ed24cb7583b9d463ce3de4ce10adf8 /src/view/com/feeds/CustomFeed.tsx
parentc55ce6de020d6c9df86c71158251caddf12da777 (diff)
downloadvoidsky-f0003d193182bd70935ca6b7e67897922297deed.tar.zst
Add 'my feeds' tab
Diffstat (limited to 'src/view/com/feeds/CustomFeed.tsx')
-rw-r--r--src/view/com/feeds/CustomFeed.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/view/com/feeds/CustomFeed.tsx b/src/view/com/feeds/CustomFeed.tsx
index 5a93020a0..5440a8e8f 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,
+    showDescription = false,
     showLikes = false,
   }: {
     item: CustomFeedModel
     style?: StyleProp<ViewStyle>
     showSaveBtn?: boolean
+    showDescription?: boolean
     showLikes?: boolean
   }) => {
     const store = useStores()
@@ -75,7 +77,7 @@ export const CustomFeed = observer(
           )}
         </View>
 
-        {item.data.description ? (
+        {showDescription && item.data.description ? (
           <Text style={[pal.textLight, styles.description]} numberOfLines={3}>
             {item.data.description}
           </Text>