fix(ios): accept native knowledge onboarding sources
This commit is contained in:
parent
b30f814320
commit
7d6516e10e
1 changed files with 4 additions and 1 deletions
|
|
@ -265,7 +265,10 @@ function MainApp({
|
||||||
setToastMessage(`Getting Started vault cloned and opened at ${vaultPath}`)
|
setToastMessage(`Getting Started vault cloned and opened at ${vaultPath}`)
|
||||||
}, [rememberVaultChoice])
|
}, [rememberVaultChoice])
|
||||||
|
|
||||||
const handleOnboardingVaultReady = useCallback((vaultPath: string, source: 'template' | 'empty' | 'existing') => {
|
const handleOnboardingVaultReady = useCallback((
|
||||||
|
vaultPath: string,
|
||||||
|
source: 'template' | 'empty' | 'existing' | 'world' | 'personal',
|
||||||
|
) => {
|
||||||
rememberVaultChoice(vaultPath)
|
rememberVaultChoice(vaultPath)
|
||||||
if (source === 'template') {
|
if (source === 'template') {
|
||||||
setToastMessage(`Getting Started vault cloned and opened at ${vaultPath}`)
|
setToastMessage(`Getting Started vault cloned and opened at ${vaultPath}`)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue