diff --git a/src/screens/StarterPack/Main/index.tsx b/src/screens/StarterPack/Main/index.tsx index 0e4d395ccf..c929112a8b 100644 --- a/src/screens/StarterPack/Main/index.tsx +++ b/src/screens/StarterPack/Main/index.tsx @@ -3,10 +3,11 @@ import {Pressable, View} from 'react-native' import {AppBskyGraphDefs, AppBskyGraphStarterpack} from '@atproto/api' import {msg, Plural, Trans} from '@lingui/macro' import {useLingui} from '@lingui/react' +import {useNavigation} from '@react-navigation/native' import {NativeStackScreenProps} from '@react-navigation/native-stack' import {makeProfileLink} from 'lib/routes/links' -import {CommonNavigatorParams} from 'lib/routes/types' +import {CommonNavigatorParams, NavigationProp} from 'lib/routes/types' import {shareUrl} from 'lib/sharing' import {isWeb} from 'platform/detection' import {useResolveDidQuery} from 'state/queries/resolve-uri' @@ -62,7 +63,9 @@ export function StarterPackScreen({
}> + renderHeader={() => ( +
+ )}> {starterPack.list ? ({headerHeight, scrollElRef}) => ( () const {currentAccount} = useSession() const qrCodeDialogControl = useDialogControl() @@ -174,7 +182,9 @@ function Header({ variant="solid" color="secondary" size="small" - onPress={() => {}}> + onPress={() => + navigation.navigate('StarterPackWizard', {name, rkey}) + }> Edit