mirror of
https://github.com/yattee/yattee.git
synced 2026-06-06 14:54:20 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user