Replace onboarding flow with silent v1 import and iCloud alert

Delete the multi-page onboarding sheet. On first launch the app now
silently imports any v1 instances from UserDefaults (splitting embedded
basic-auth credentials out of the URL and into the Keychain) and then,
if the device is signed in to iCloud, shows a single alert offering to
enable sync. Accepting shows a blocking progress overlay until the
initial upload completes.
This commit is contained in:
Arkadiusz Fal
2026-04-17 21:05:44 +02:00
parent 55f27e7f54
commit 2761fcbcfb
13 changed files with 200 additions and 1116 deletions

View File

@@ -176,15 +176,6 @@ struct DeveloperSettingsView: View {
#if !os(tvOS)
notificationTestingSection
#endif
Section {
Button {
NotificationCenter.default.post(name: .showOnboarding, object: nil)
appEnvironment?.navigationCoordinator.dismissSettings()
} label: {
Label(String(localized: "settings.advanced.showOnboarding"), systemImage: "hand.wave")
}
}
}
@ViewBuilder