simplify onboarding model function naming
This commit is contained in:
@@ -125,7 +125,7 @@ export const RecommendedFeeds = observer(({navigation}: Props) => {
|
||||
const store = useStores()
|
||||
|
||||
const next = () => {
|
||||
const nextScreenName = store.onboarding.nextScreenName('RecommendedFeeds')
|
||||
const nextScreenName = store.onboarding.next('RecommendedFeeds')
|
||||
if (nextScreenName) {
|
||||
navigation.navigate(nextScreenName)
|
||||
}
|
||||
|
||||
@@ -25,7 +25,7 @@ export const Welcome = observer(({navigation}: Props) => {
|
||||
}, [store.shell.minimalShellMode, store])
|
||||
|
||||
const next = () => {
|
||||
const nextScreenName = store.onboarding.nextScreenName('Welcome')
|
||||
const nextScreenName = store.onboarding.next('Welcome')
|
||||
if (nextScreenName) {
|
||||
navigation.navigate(nextScreenName)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user