diff --git a/src/components/StarterPack/ProfileStarterPacks.tsx b/src/components/StarterPack/ProfileStarterPacks.tsx index af84c5a6e2..8aef725cb0 100644 --- a/src/components/StarterPack/ProfileStarterPacks.tsx +++ b/src/components/StarterPack/ProfileStarterPacks.tsx @@ -139,13 +139,43 @@ export const ProfileStarterPacks = React.forwardRef< desktopFixedHeight onEndReached={onEndReached} onRefresh={onRefresh} - ListEmptyComponent={EmptyComponent} + ListEmptyComponent={Empty} + ListFooterComponent={items?.length !== 0 ? CreateAnother : undefined} /> ) }) -function EmptyComponent() { +function CreateAnother() { + const t = useTheme() + const {_} = useLingui() + const navigation = useNavigation() + + return ( + + + + ) +} + +function Empty() { const {_} = useLingui() const t = useTheme() const navigation = useNavigation()