Investigate Live Activity Session Load
Nucleic-Session: 044A9B93-AB31-4B6B-9A27-3631261269B1 Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -558,6 +558,11 @@ final class RemoteStore: ObservableObject {
|
|||||||
var cb = HostConnection.Callbacks()
|
var cb = HostConnection.Callbacks()
|
||||||
cb.didUpdate = { [weak self] in
|
cb.didUpdate = { [weak self] in
|
||||||
guard let self else { return }
|
guard let self else { return }
|
||||||
|
// Complete a session opened before its owning Mac was live — a Live Activity /
|
||||||
|
// notification cold-launch deep link opens the detail while the app is still dialing, so
|
||||||
|
// `open()` couldn't bind it to a connection that didn't exist yet. Runs before the merge
|
||||||
|
// so the aggregate picks up the freshly-bound host's connectivity/scope this pass.
|
||||||
|
self.bindOpenSessionIfNeeded()
|
||||||
// Any host's change re-merges the aggregate the flat state binds to (mesh P3).
|
// Any host's change re-merges the aggregate the flat state binds to (mesh P3).
|
||||||
self.rebuildAggregate()
|
self.rebuildAggregate()
|
||||||
self.refreshAggregate()
|
self.refreshAggregate()
|
||||||
|
|||||||
Reference in New Issue
Block a user