From a6dd3374a3bfdf89d8db98ed4152ae2e10ce2a8b Mon Sep 17 00:00:00 2001 From: Ilya Laktyushin Date: Sat, 8 May 2021 14:47:31 +0400 Subject: [PATCH] Voice Chat Improvements --- .../TelegramCallsUI/Sources/VoiceChatParticipantItem.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/submodules/TelegramCallsUI/Sources/VoiceChatParticipantItem.swift b/submodules/TelegramCallsUI/Sources/VoiceChatParticipantItem.swift index 6b2624a988..7686e94cb9 100644 --- a/submodules/TelegramCallsUI/Sources/VoiceChatParticipantItem.swift +++ b/submodules/TelegramCallsUI/Sources/VoiceChatParticipantItem.swift @@ -1670,14 +1670,14 @@ class VoiceChatParticipantItemNode: ItemListRevealOptionsItemNode { } })) } - } else { + } else if canUpdateAvatarVisibility { strongSelf.avatarNode.alpha = 1.0 } switch item.style { case .list: strongSelf.audioLevelView?.alpha = item.transparent ? 0.0 : 1.0 - strongSelf.avatarNode.isHidden = item.transparent + strongSelf.avatarNode.isHidden = item.transparent || strongSelf.isExtracted strongSelf.videoContainerNode.isHidden = item.transparent strongSelf.pinIconNode.isHidden = !item.transparent if item.transparent && currentItem?.pinned != item.pinned {