@@ -74,7 +74,7 @@ struct OnboardingWizardView: View {
7474 }
7575
7676 private var isFullScreenStep : Bool {
77- self . step == . intro || self . step == . permissions || self . step == . welcome || self . step == . success
77+ self . step == . intro || self . step == . welcome || self . step == . success
7878 }
7979
8080 private var currentProblem : GatewayConnectionProblem ? {
@@ -139,8 +139,6 @@ struct OnboardingWizardView: View {
139139 switch self . step {
140140 case . intro :
141141 self . introStep
142- case . permissions :
143- self . permissionsStep
144142 case . welcome :
145143 self . welcomeStep
146144 case . success :
@@ -403,10 +401,6 @@ struct OnboardingWizardView: View {
403401 OnboardingIntroStep ( onContinue : self . advanceFromIntro )
404402 }
405403
406- private var permissionsStep : some View {
407- OnboardingPermissionsStep ( onContinue : self . advanceFromPermissions )
408- }
409-
410404 private var welcomeStep : some View {
411405 OnboardingWelcomeStep (
412406 statusLine : self . statusLine ,
@@ -1148,23 +1142,16 @@ extension OnboardingWizardView {
11481142 }
11491143
11501144 private func advanceFromIntro ( ) {
1151- self . statusLine = " "
1152- self . navigate ( to : . permissions )
1153- }
1154-
1155- private func advanceFromPermissions ( ) {
1156- // Marked here, not on the intro Continue: an interrupted first run must
1157- // replay intro + permissions on relaunch instead of skipping them forever.
1145+ // An interrupted first run replays the intro until the user explicitly continues.
11581146 OnboardingStateStore . markFirstRunIntroSeen ( )
11591147 self . requestLocalNetworkAccess ( reason : " onboarding_continue " )
11601148 self . statusLine = " "
11611149 self . navigate ( to : . welcome )
11621150 }
11631151
11641152 private func requestLocalNetworkAccessIfPastIntro ( reason : String ) {
1165- // The local-network prompt waits until pairing starts so it never stacks
1166- // on top of the permission prompts users trigger on the permissions step.
1167- guard self . step != . intro , self . step != . permissions else { return }
1153+ // Keep the first-run intro focused; request local-network access when pairing starts.
1154+ guard self . step != . intro else { return }
11681155 self . requestLocalNetworkAccess ( reason : reason )
11691156 }
11701157
0 commit comments