Video Chat Improvements

This commit is contained in:
Ilya Laktyushin
2021-05-22 13:48:04 +04:00
parent d20661d5a9
commit 4efe0468c5
7 changed files with 77 additions and 35 deletions

View File

@@ -688,7 +688,7 @@ class VoiceChatFullscreenParticipantItemNode: ItemListRevealOptionsItemNode {
strongSelf.audioLevelView = audioLevelView
strongSelf.offsetContainerNode.view.insertSubview(audioLevelView, at: 0)
if let item = strongSelf.item, strongSelf.videoNode != nil || item.active {
if let item = strongSelf.item, strongSelf.videoNode != nil && !item.active {
audioLevelView.alpha = 0.0
}
}