Live Activity Launch Consistency
Nucleic-Session: 9D2EE9AB-2E44-485B-A196-54D250F9D89B Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -148,7 +148,7 @@ final class LiveActivityManager {
|
|||||||
/// totals on every transcript edit but no status) doesn't spend ActivityKit's update budget. The
|
/// totals on every transcript edit but no status) doesn't spend ActivityKit's update budget. The
|
||||||
/// fresh churn still rides along on the next status-driven push.
|
/// fresh churn still rides along on the next status-driven push.
|
||||||
private func push(_ state: NucleicSessionAttributes.ContentState, hostName: String) {
|
private func push(_ state: NucleicSessionAttributes.ContentState, hostName: String) {
|
||||||
guard let activity else {
|
guard activity != nil else {
|
||||||
// No Activity yet — recover one that survived an app relaunch, or start a fresh one. The
|
// No Activity yet — recover one that survived an app relaunch, or start a fresh one. The
|
||||||
// dedup gate below only guards *updates* to a live Activity; creation must never sit
|
// dedup gate below only guards *updates* to a live Activity; creation must never sit
|
||||||
// behind it. ActivityKit refuses a start unless the app has a foreground/background-
|
// behind it. ActivityKit refuses a start unless the app has a foreground/background-
|
||||||
|
|||||||
Reference in New Issue
Block a user