Skip to content

Commit f5c6589

Browse files
Updated demo app livestream presentation logic (#764)
1 parent a6d496b commit f5c6589

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

DemoApp/Sources/ViewModifiers/CallModifier/DemoCallModifier.swift

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ struct DemoCallModifier<Factory: ViewFactory>: ViewModifier {
3434
private func contentView(_ rootView: Content) -> some View {
3535
if
3636
let call = viewModel.call,
37-
call.callType == .livestream,
38-
(call.currentUserHasCapability(.sendAudio) == false) || (call.currentUserHasCapability(.sendVideo) == false) {
37+
call.callType == .livestream {
3938
ZStack {
4039
rootView
4140
LivestreamPlayer(

0 commit comments

Comments
 (0)