mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Conference
This commit is contained in:
@@ -2706,6 +2706,15 @@ final class VideoChatScreenComponent: Component {
|
||||
} else if let expandedParticipantsVideoState = self.expandedParticipantsVideoState, !expandedParticipantsVideoState.isUIHidden {
|
||||
displayVideoControlButton = false
|
||||
}
|
||||
if case .audio = videoControlButtonContent {
|
||||
if let (availableOutputs, _) = self.audioOutputState {
|
||||
if availableOutputs.count <= 0 {
|
||||
displayVideoControlButton = false
|
||||
}
|
||||
} else {
|
||||
displayVideoControlButton = false
|
||||
}
|
||||
}
|
||||
|
||||
let videoControlButtonSize = self.videoControlButton.update(
|
||||
transition: transition,
|
||||
|
||||
Reference in New Issue
Block a user