Update WatchSessionModel.swift
iOS CI / Build and Test SwiftUI App (push) Canceled after 0s
Build Unsigned iOS and macOS Apps / Build Unsigned iOS IPA (push) Canceled after 0s
Build Unsigned iOS and macOS Apps / Build macOS ZIP (push) Canceled after 0s

This commit is contained in:
wt committed 2026-08-10 16:40:02 +07:00
1 parent 0f0ea7b80f
commit ee9ace7615
1 file changed
+5 -5
+5 -5
View File
@@ -211,11 +211,11 @@ extension WatchSessionModel: WCSessionDelegate {
} }
} }
nonisolated func sessionDidDeactivate(_ session: WCSession) { // nonisolated func sessionDidDeactivate(_ session: WCSession) {
Task { @MainActor in // Task { @MainActor in
phoneReachable = false // phoneReachable = false
} // }
} // }
nonisolated func sessionReachabilityDidChange(_ session: WCSession) { nonisolated func sessionReachabilityDidChange(_ session: WCSession) {
Task { @MainActor in phoneReachable = session.isReachable } Task { @MainActor in phoneReachable = session.isReachable }