diff --git a/src/components/StarterPack/ProfileStarterPacks.tsx b/src/components/StarterPack/ProfileStarterPacks.tsx index a19d619e3d..76329d6db2 100644 --- a/src/components/StarterPack/ProfileStarterPacks.tsx +++ b/src/components/StarterPack/ProfileStarterPacks.tsx @@ -32,6 +32,7 @@ import {Button, ButtonIcon, ButtonText} from '#/components/Button' import {useDialogControl} from '#/components/Dialog' import {PlusSmall_Stroke2_Corner0_Rounded as Plus} from '#/components/icons/Plus' import {LinearGradientBackground} from '#/components/LinearGradientBackground' +import {ListFooter} from '#/components/Lists' import {Loader} from '#/components/Loader' import * as Prompt from '#/components/Prompt' import {Default as StarterPackCard} from '#/components/StarterPack/StarterPackCard' @@ -163,10 +164,11 @@ export function ProfileStarterPacks({ if (!data || items?.length === 0) { return null } + if (isMe) { + return + } return ( - - {isMe && } - + ) }, [data, items?.length, isMe, bottomBarOffset]) @@ -197,7 +199,7 @@ export function ProfileStarterPacks({ ) } -function CreateAnother() { +function CreateAnother({style}: {style?: StyleProp}) { const {_} = useLingui() const t = useTheme() const navigation = useNavigation() @@ -210,6 +212,7 @@ function CreateAnother() { a.gap_lg, a.border_t, t.atoms.border_contrast_low, + style, ]}>