Read App Intents Documentation
Nucleic-Session: 56C5F781-4444-466B-91CE-A7734A8E117F Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -1234,7 +1234,12 @@ final class RemoteStore: ObservableObject {
|
|||||||
func bootstrapForIntent() {
|
func bootstrapForIntent() {
|
||||||
guard !demoMode else { return }
|
guard !demoMode else { return }
|
||||||
startNetworkingIfNeeded()
|
startNetworkingIfNeeded()
|
||||||
if isPaired { reconnect() }
|
if isPaired {
|
||||||
|
// Show the persisted session list immediately so a cold intent query (Siri/Spotlight)
|
||||||
|
// has data to answer with before any host connects — same seed as `onAppear`.
|
||||||
|
if sessions.isEmpty { sessions = cachedSummaries }
|
||||||
|
reconnect()
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Whether any paired Mac currently has a live channel.
|
/// Whether any paired Mac currently has a live channel.
|
||||||
|
|||||||
Reference in New Issue
Block a user