better cta
This commit is contained in:
@@ -116,15 +116,16 @@ export const ProfileStarterPacks = React.forwardRef<
|
|||||||
data={items}
|
data={items}
|
||||||
renderItem={renderItem}
|
renderItem={renderItem}
|
||||||
keyExtractor={keyExtractor}
|
keyExtractor={keyExtractor}
|
||||||
|
scrollEnabled={items?.length !== 0}
|
||||||
refreshing={isPTRing}
|
refreshing={isPTRing}
|
||||||
onRefresh={onRefresh}
|
|
||||||
headerOffset={headerOffset}
|
headerOffset={headerOffset}
|
||||||
contentContainerStyle={isNative && {paddingBottom: headerOffset + 100}}
|
contentContainerStyle={isNative && {paddingBottom: headerOffset + 100}}
|
||||||
indicatorStyle={t.name === 'light' ? 'black' : 'white'}
|
indicatorStyle={t.name === 'light' ? 'black' : 'white'}
|
||||||
removeClippedSubviews={true}
|
removeClippedSubviews={true}
|
||||||
desktopFixedHeight
|
desktopFixedHeight
|
||||||
onEndReached={onEndReached}
|
onEndReached={onEndReached}
|
||||||
ListEmptyComponent={<EmptyComponent />}
|
onRefresh={onRefresh}
|
||||||
|
ListEmptyComponent={EmptyComponent}
|
||||||
/>
|
/>
|
||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
@@ -142,7 +143,14 @@ function EmptyComponent() {
|
|||||||
return (
|
return (
|
||||||
<LinearGradient
|
<LinearGradient
|
||||||
colors={gradient}
|
colors={gradient}
|
||||||
style={[a.px_md, a.py_xl, a.justify_between, a.gap_md, a.shadow_lg]}>
|
style={[
|
||||||
|
a.px_md,
|
||||||
|
a.py_xl,
|
||||||
|
a.justify_between,
|
||||||
|
a.gap_lg,
|
||||||
|
a.shadow_lg,
|
||||||
|
{marginTop: 2},
|
||||||
|
]}>
|
||||||
<View style={[a.gap_xs]}>
|
<View style={[a.gap_xs]}>
|
||||||
<Text
|
<Text
|
||||||
style={[
|
style={[
|
||||||
@@ -153,7 +161,7 @@ function EmptyComponent() {
|
|||||||
]}>
|
]}>
|
||||||
You have not created a starter pack yet!
|
You have not created a starter pack yet!
|
||||||
</Text>
|
</Text>
|
||||||
<Text style={[{color: 'white'}]}>
|
<Text style={[a.text_md, {color: 'white'}]}>
|
||||||
Starter packs let you easily share your favorite feeds and people with
|
Starter packs let you easily share your favorite feeds and people with
|
||||||
your friends.
|
your friends.
|
||||||
</Text>
|
</Text>
|
||||||
|
|||||||
Reference in New Issue
Block a user