diff --git a/src/components/StarterPack/Main/FeedsList.tsx b/src/components/StarterPack/Main/FeedsList.tsx index f5b78984ee..b2e395ebf6 100644 --- a/src/components/StarterPack/Main/FeedsList.tsx +++ b/src/components/StarterPack/Main/FeedsList.tsx @@ -4,15 +4,13 @@ import {AppBskyFeedDefs} from '@atproto/api' import {GeneratorView} from '@atproto/api/dist/client/types/app/bsky/feed/defs' import {useBottomBarOffset} from 'lib/hooks/useBottomBarOffset' +import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries' import {isNative} from 'platform/detection' import {List, ListRef} from 'view/com/util/List' import {SectionRef} from '#/screens/Profile/Sections/types' +import {atoms as a, useTheme} from '#/alf' import * as FeedCard from '#/components/FeedCard' -function renderItem({item}: ListRenderItemInfo) { - return -} - function keyExtractor(item: AppBskyFeedDefs.GeneratorView) { return item.uri } @@ -27,6 +25,8 @@ export const FeedsList = React.forwardRef( function FeedsListImpl({feeds, headerHeight, scrollElRef}, ref) { const [initialHeaderHeight] = React.useState(headerHeight) const bottomBarOffset = useBottomBarOffset(20) + const {isTabletOrDesktop} = useWebMediaQueries() + const t = useTheme() const onScrollToTop = useCallback(() => { scrollElRef.current?.scrollToOffset({ @@ -39,6 +39,19 @@ export const FeedsList = React.forwardRef( scrollToTop: onScrollToTop, })) + const renderItem = ({item, index}: ListRenderItemInfo) => { + return ( + + + + ) + } + return ( diff --git a/src/screens/StarterPack/Wizard/index.tsx b/src/screens/StarterPack/Wizard/index.tsx index a456867752..5614074d2f 100644 --- a/src/screens/StarterPack/Wizard/index.tsx +++ b/src/screens/StarterPack/Wizard/index.tsx @@ -300,6 +300,7 @@ function WizardInner({ createdAt: initialCreatedAt, updatedAt: new Date().toISOString(), }, + validate: false, // TODO remove! }) await invalidateQueries() diff --git a/src/view/com/profile/ProfileSubpageHeader.tsx b/src/view/com/profile/ProfileSubpageHeader.tsx index baf3df1e22..69aa974d67 100644 --- a/src/view/com/profile/ProfileSubpageHeader.tsx +++ b/src/view/com/profile/ProfileSubpageHeader.tsx @@ -24,7 +24,7 @@ import hairlineWidth = StyleSheet.hairlineWidth import {AppBskyGraphDefs} from '@atproto/api' import {Menu_Stroke2_Corner0_Rounded as Menu} from '#/components/icons/Menu' -import {StarterPackAvatarsIcon} from '#/components/StarterPack/StarterPackAvatarsIcon' +import {StarterPackIcon} from '#/components/icons/StarterPackIcon' export function ProfileSubpageHeader({ isLoading, @@ -34,7 +34,6 @@ export function ProfileSubpageHeader({ isOwner, creator, avatarType, - starterPack, children, }: React.PropsWithChildren<{ isLoading?: boolean @@ -133,7 +132,7 @@ export function ProfileSubpageHeader({ accessibilityHint="" style={{width: 58}}> {avatarType === 'starter-pack' ? ( - + ) : ( )}