diff --git a/src/screens/StarterPack/Wizard/index.tsx b/src/screens/StarterPack/Wizard/index.tsx index 6a5bcfaf99..ac60326564 100644 --- a/src/screens/StarterPack/Wizard/index.tsx +++ b/src/screens/StarterPack/Wizard/index.tsx @@ -1,7 +1,7 @@ import React from 'react' import {Keyboard, TouchableOpacity, View} from 'react-native' import {KeyboardAwareScrollView} from 'react-native-keyboard-controller' -import {AppBskyActorDefs} from '@atproto/api' +import {AppBskyActorDefs, AtUri} from '@atproto/api' import {GeneratorView} from '@atproto/api/dist/client/types/app/bsky/feed/defs' import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome' import {msg, Plural, Trans} from '@lingui/macro' @@ -172,7 +172,8 @@ function WizardInner() { }, ) - navigation.replace('StarterPack', {id: res.uri}) + const rkey = new AtUri(res.uri).rkey + navigation.replace('StarterPack', {name: currentAccount!.did, rkey}) } catch (e) { // TODO add error to state console.error(e) diff --git a/src/view/screens/Settings/index.tsx b/src/view/screens/Settings/index.tsx index d7f84cb80a..631bd3ba80 100644 --- a/src/view/screens/Settings/index.tsx +++ b/src/view/screens/Settings/index.tsx @@ -896,7 +896,10 @@ export function SettingsScreen({}: Props) { { - navigation.navigate('StarterPack', {id: '123'}) + navigation.navigate('StarterPack', { + name: 'alice.test', + rkey: '1234567', + }) }} accessibilityRole="button" accessibilityLabel={_(msg`Navigate to Starter Pack`)} @@ -905,18 +908,6 @@ export function SettingsScreen({}: Props) { Navigate to Starter Pack - { - navigation.navigate('StarterPackLanding', {id: '123'}) - }} - accessibilityRole="button" - accessibilityLabel={_(msg`Navigate to Starter Pack Landing`)} - accessibilityHint={_(msg`Navigate to Starter Pack Landing`)}> - - Navigate to Starter Pack Landing - -