mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 01:20:12 +00:00
Run SwiftFormat.
This commit is contained in:
@@ -225,7 +225,7 @@ private struct PanGestureRepresentable: UIGestureRecognizerRepresentable {
|
||||
|
||||
func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool {
|
||||
guard let panRecognizer = gestureRecognizer as? UIPanGestureRecognizer else { return false }
|
||||
|
||||
|
||||
let velocity = panRecognizer.velocity(in: gestureRecognizer.view)
|
||||
return abs(velocity.y) < abs(velocity.x)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user