@@ -150,7 +150,7 @@ final class LiveActivityManager {
150150 message: " [LA] foreground restart: current=nil (old activity not bound locally), ending all existing LAs before restart "
151151 )
152152 current = nil
153-
153+
154154 Task {
155155 for activity in Activity< GlucoseLiveActivityAttributes> . activities {
156156 await activity. end ( nil , dismissalPolicy: . immediate)
@@ -178,7 +178,7 @@ final class LiveActivityManager {
178178 }
179179 }
180180 }
181-
181+
182182 @objc private func handleBackgroundAudioFailed( ) {
183183 guard Storage . shared. laEnabled. value, current != nil else { return }
184184 // The background audio session has permanently failed — the app will lose its
@@ -188,7 +188,7 @@ final class LiveActivityManager {
188188 Storage . shared. laRenewBy. value = Date ( ) . timeIntervalSince1970
189189 refreshFromCurrentState ( reason: " audio-session-failed " )
190190 }
191-
191+
192192 private func shouldRestartBecauseExtensionLooksStuck( ) -> Bool {
193193 guard Storage . shared. laEnabled. value else { return false }
194194 guard !dismissedByUser else { return false }
@@ -554,7 +554,7 @@ final class LiveActivityManager {
554554 highMgdl: Storage . shared. highLine. value,
555555 )
556556 GlucoseSnapshotStore . shared. save ( snapshot)
557- //WatchConnectivityManager.shared.send(snapshot: snapshot)
557+ // WatchConnectivityManager.shared.send(snapshot: snapshot)
558558
559559 // LA update: gated on LA being active, snapshot having changed, and activities enabled.
560560 guard Storage . shared. laEnabled. value, !dismissedByUser else { return }
0 commit comments