mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-16 10:47:04 +00:00
iOS: clear sticky pairing issue on resume
This commit is contained in:
committed by
mbelinky
parent
ff50d3303d
commit
89b627f274
@@ -675,6 +675,11 @@ struct OnboardingWizardView: View {
|
||||
// We intentionally stop reconnect churn while unpaired to avoid generating multiple pending requests.
|
||||
self.appModel.gatewayAutoReconnectEnabled = true
|
||||
self.appModel.gatewayPairingPaused = false
|
||||
self.appModel.gatewayPairingRequestId = nil
|
||||
// Pairing state is sticky to prevent UI flip-flop during reconnect churn.
|
||||
// Once the user explicitly resumes after approving, clear the sticky issue
|
||||
// so new status/auth errors can surface instead of being masked as pairing.
|
||||
self.issue = .none
|
||||
self.connectMessage = "Retrying after approval…"
|
||||
self.statusLine = "Retrying after approval…"
|
||||
Task { await self.retryLastAttempt() }
|
||||
|
||||
Reference in New Issue
Block a user