From ae5985501eec571c3f85fa8f5a3ecdb950e1225d Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 21 Jan 2026 19:04:03 +0000 Subject: [PATCH] Use ListFooter component for consistency with other lists Use the existing ListFooter component when viewing other users' profiles instead of a plain View, matching the pattern used in ProfilesList and FeedsList components. --- src/components/StarterPack/ProfileStarterPacks.tsx | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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, ]}>