mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Shared media improvements
This commit is contained in:
@@ -1214,6 +1214,12 @@ public final class SparseItemGrid: ASDisplayNode {
|
||||
public var cancelExternalContentGestures: (() -> Void)?
|
||||
public var zoomLevelUpdated: ((ZoomLevel) -> Void)?
|
||||
|
||||
public var pinchEnabled: Bool = true {
|
||||
didSet {
|
||||
self.pinchRecognizer?.isEnabled = self.pinchEnabled
|
||||
}
|
||||
}
|
||||
|
||||
public init(theme: PresentationTheme) {
|
||||
self.theme = theme
|
||||
|
||||
|
||||
Reference in New Issue
Block a user