Merge commit '424f0d380a40c266537508d8134a356fc81778c9'

This commit is contained in:
Ali 2021-04-01 00:30:34 +04:00
commit 96e5db13a5

View File

@ -115,9 +115,7 @@ final class PeerInfoHeaderButtonNode: HighlightableButtonNode {
@objc private func buttonPressed() { @objc private func buttonPressed() {
switch self.icon { switch self.icon {
case .voiceChat: case .voiceChat, .more, .leave:
self.animationNode?.playOnce()
case .more:
self.animationNode?.playOnce() self.animationNode?.playOnce()
default: default:
break break
@ -181,6 +179,9 @@ final class PeerInfoHeaderButtonNode: HighlightableButtonNode {
"Point 1.Group 1.Fill 1": iconColor] "Point 1.Group 1.Fill 1": iconColor]
case .leave: case .leave:
animationName = "anim_profileleave" animationName = "anim_profileleave"
colors = ["Arrow.Group 2.Stroke 1": iconColor,
"Door.Group 1.Stroke 1": iconColor,
"Arrow.Group 1.Stroke 1": iconColor]
default: default:
animationName = nil animationName = nil
} }