fix(ios): accept native knowledge onboarding sources

This commit is contained in:
冰朔 2026-08-03 22:35:22 +08:00
commit 7d6516e10e

View file

@ -265,7 +265,10 @@ function MainApp({
setToastMessage(`Getting Started vault cloned and opened at ${vaultPath}`)
}, [rememberVaultChoice])
const handleOnboardingVaultReady = useCallback((vaultPath: string, source: 'template' | 'empty' | 'existing') => {
const handleOnboardingVaultReady = useCallback((
vaultPath: string,
source: 'template' | 'empty' | 'existing' | 'world' | 'personal',
) => {
rememberVaultChoice(vaultPath)
if (source === 'template') {
setToastMessage(`Getting Started vault cloned and opened at ${vaultPath}`)