diff options
author | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-16 18:28:44 -0700 |
---|---|---|
committer | Ansh Nanda <anshnanda10@gmail.com> | 2023-05-16 18:28:44 -0700 |
commit | 53ca0cd626cc71fea38fb0f59f68092ab406d143 (patch) | |
tree | 1976638d19e7ad542a8cf71641fc7d9d77718653 /src/view/com/algos/AlgoItem.tsx | |
parent | 139027ac5f843c65aae5ad824d049aae6dae9f79 (diff) | |
download | voidsky-53ca0cd626cc71fea38fb0f59f68092ab406d143.tar.zst |
drag to rearrange pinned items
Diffstat (limited to 'src/view/com/algos/AlgoItem.tsx')
-rw-r--r-- | src/view/com/algos/AlgoItem.tsx | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/view/com/algos/AlgoItem.tsx b/src/view/com/algos/AlgoItem.tsx index 6fbbd0df1..b28545c17 100644 --- a/src/view/com/algos/AlgoItem.tsx +++ b/src/view/com/algos/AlgoItem.tsx @@ -24,13 +24,11 @@ const AlgoItem = observer( item, style, showBottom = true, - onLongPress, reloadOnFocus = false, }: { item: AlgoItemModel style?: StyleProp<ViewStyle> showBottom?: boolean - onLongPress?: () => void reloadOnFocus?: boolean }) => { const store = useStores() @@ -54,7 +52,6 @@ const AlgoItem = observer( rkey: item.data.uri, }) }} - onLongPress={onLongPress} key={item.data.uri}> <View style={[styles.headerContainer]}> <View style={[s.mr10]}> @@ -64,8 +61,9 @@ const AlgoItem = observer( <Text style={[pal.text, s.bold]}> {item.data.displayName ?? 'Feed name'} </Text> - <Text style={[pal.textLight, styles.description]}> - {item.data.description ?? 'Feed description'} + <Text style={[pal.textLight, styles.description]} numberOfLines={5}> + {item.data.description ?? + "Explore our Feed for the latest updates and insights! Dive into a world of intriguing articles, trending news, and exciting stories that cover a wide range of topics. From technology breakthroughs to lifestyle tips, there's something here for everyone. Stay informed and get inspired with us. Join the conversation now!"} </Text> </View> </View> |