mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-29 09:01:05 +00:00
Fix isPinchGestureEnabled
This commit is contained in:
parent
da4a9977d0
commit
ac388c7da5
@ -152,7 +152,7 @@ public final class PinchSourceContainerNode: ASDisplayNode, UIGestureRecognizerD
|
||||
fileprivate let gesture: PinchSourceGesture
|
||||
fileprivate var panGesture: UIPanGestureRecognizer?
|
||||
|
||||
public var isPinchGestureEnabled: Bool = false {
|
||||
public var isPinchGestureEnabled: Bool = true {
|
||||
didSet {
|
||||
if self.isPinchGestureEnabled != oldValue {
|
||||
self.gesture.isEnabled = self.isPinchGestureEnabled
|
||||
|
@ -1050,6 +1050,8 @@ final class ChatMessageInteractiveMediaNode: ASDisplayNode, GalleryItemTransitio
|
||||
}
|
||||
|
||||
strongSelf.updateStatus(animated: synchronousLoads)
|
||||
|
||||
strongSelf.pinchContainerNode.isPinchGestureEnabled = !isSecretMedia
|
||||
}
|
||||
})
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user