mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Quotes experiment
This commit is contained in:
@@ -142,6 +142,12 @@ public final class NavigationContainer: ASDisplayNode, UIGestureRecognizerDelega
|
||||
}
|
||||
return .right
|
||||
})
|
||||
panRecognizer.dynamicEdgeWidth = { [weak self] _ in
|
||||
guard let self, let controller = self.controllers.last, let value = controller.interactiveNavivationGestureEdgeWidth else {
|
||||
return .constant(16.0)
|
||||
}
|
||||
return value
|
||||
}
|
||||
if #available(iOS 13.4, *) {
|
||||
panRecognizer.allowedScrollTypesMask = .continuous
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user