mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-19 09:41:29 +00:00
Merge commit '424f0d380a40c266537508d8134a356fc81778c9'
This commit is contained in:
commit
96e5db13a5
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user