Very load more copy

This commit is contained in:
Eric Bailey
2024-06-14 12:26:25 -05:00
parent 0e02c54134
commit ebbe3ac888
+7 -2
View File
@@ -120,6 +120,7 @@ function LoadMore({
}) })
.filter(Boolean) as LoadMoreItems[] .filter(Boolean) as LoadMoreItems[]
}, [item.items, moderationOpts]) }, [item.items, moderationOpts])
const type = items[0].type
return ( return (
<View style={[]}> <View style={[]}>
@@ -158,7 +159,7 @@ function LoadMore({
left: 0, left: 0,
backgroundColor: t.palette.primary_500, backgroundColor: t.palette.primary_500,
borderColor: t.atoms.bg.backgroundColor, borderColor: t.atoms.bg.backgroundColor,
borderRadius: items[0].type === 'profile' ? 999 : 4, borderRadius: type === 'profile' ? 999 : 4,
zIndex: 4, zIndex: 4,
}, },
]}> ]}>
@@ -209,7 +210,11 @@ function LoadMore({
a.leading_snug, a.leading_snug,
hovered ? t.atoms.text : t.atoms.text_contrast_medium, hovered ? t.atoms.text : t.atoms.text_contrast_medium,
]}> ]}>
<Trans>Load more suggestions</Trans> {type === 'profile' ? (
<Trans>Load more suggested follows</Trans>
) : (
<Trans>Load more suggested feeds</Trans>
)}
</Text> </Text>
<View style={[a.flex_1, a.align_end]}> <View style={[a.flex_1, a.align_end]}>