We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 27bb08c commit 20a49bdCopy full SHA for 20a49bd
1 file changed
Sources/ItsytvCore/Protocol/AppleTVManager.swift
@@ -158,7 +158,6 @@ public final class AppleTVManager {
158
}
159
160
private func connect(to device: AppleTVDevice, preservingPendingCommands: Bool) {
161
- discovery.pause()
162
disconnect(clearPendingCommands: !preservingPendingCommands)
163
connectionStatus = .connecting
164
self.connectedDevice = device
@@ -748,6 +747,7 @@ public final class AppleTVManager {
748
747
749
DispatchQueue.main.async {
750
self?.connectionStatus = .connected
+ self?.discovery.pause()
751
self?.flushPendingCompanionCommands()
752
self?.fetchApps()
753
0 commit comments