Conference updates

This commit is contained in:
Isaac
2025-03-30 22:40:22 +04:00
parent 7c73b91129
commit 2c32a62f6a
7 changed files with 169 additions and 43 deletions

View File

@@ -356,7 +356,7 @@ extension VideoChatScreenComponent.View {
})))
}
if callState.isVideoEnabled && (callState.muteState?.canUnmute ?? true) {
if case let .group(groupCall) = currentCall, !groupCall.isConference, callState.isVideoEnabled && (callState.muteState?.canUnmute ?? true) {
if currentCall.hasScreencast {
items.append(.action(ContextMenuActionItem(text: environment.strings.VoiceChat_StopScreenSharing, icon: { theme in
return generateTintedImage(image: UIImage(bundleImageName: "Call/Context Menu/ShareScreen"), color: theme.actionSheet.primaryTextColor)