We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84298e8 commit 3c0bf7aCopy full SHA for 3c0bf7a
Sources/StreamVideoSwiftUI/CallView/CallControls/Stateful/CallControlsView.swift
@@ -39,8 +39,7 @@ public struct CallControlsView: View {
39
.padding(.horizontal, 16)
40
.padding(.vertical)
41
.frame(maxWidth: .infinity)
42
- .onReceive(viewModel.call?.state.$ownCapabilities.receive(on: DispatchQueue.main)) { ownCapabilities = $0 }
43
- .onReceive(streamVideo.state.ringingCall?.state.$ownCapabilities.receive(on: DispatchQueue.main)) { ownCapabilities = $0 }
+ .onReceive(call?.state.$ownCapabilities.receive(on: DispatchQueue.main)) { ownCapabilities = $0 }
44
}
45
46
private var call: Call? {
0 commit comments