fix ios onboarding success screen

This commit is contained in:
joshavant
2026-06-05 10:17:36 -05:00
parent 472a30bd3f
commit af50a5959d
2 changed files with 1 additions and 2 deletions

View File

@@ -272,7 +272,7 @@ struct OnboardingWizardView: View {
OnboardingStateStore.markCompleted(mode: selectedMode)
self.didMarkCompleted = true
}
self.onClose()
self.step = .success
}
.onChange(of: self.scenePhase) { _, newValue in
guard newValue == .active else { return }

View File

@@ -298,7 +298,6 @@ struct RootTabs: View {
.onChange(of: self.gatewayController.gateways.count) { _, _ in self.maybeShowQuickSetup() }
.onChange(of: self.appModel.gatewayServerName) { _, newValue in
if newValue != nil {
self.showOnboarding = false
self.onboardingComplete = true
self.hasConnectedOnce = true
OnboardingStateStore.markCompleted(mode: nil)