mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Various fixes
This commit is contained in:
@@ -3090,7 +3090,8 @@ final class PeerInfoHeaderNode: ASDisplayNode {
|
||||
if !self.backgroundNode.frame.contains(point) {
|
||||
return nil
|
||||
}
|
||||
if self.currentCredibilityIcon == .premium {
|
||||
|
||||
if self.currentCredibilityIcon == .premium && !(self.state?.isEditing ?? false) {
|
||||
let iconFrame = self.titleCredibilityIconNode.view.convert(self.titleCredibilityIconNode.bounds, to: self.view)
|
||||
let expandedIconFrame = self.titleExpandedCredibilityIconNode.view.convert(self.titleExpandedCredibilityIconNode.bounds, to: self.view)
|
||||
if expandedIconFrame.contains(point) && self.isAvatarExpanded {
|
||||
|
||||
Reference in New Issue
Block a user