Stablize swipe back gesture for timeline. Issue #2002

This commit is contained in:
Maurice Parker 2020-04-21 01:52:39 -05:00
parent a4c672bb46
commit 7afcf681fe

View File

@ -18,7 +18,7 @@ final class PoppableGestureRecognizerDelegate: NSObject, UIGestureRecognizerDele
}
func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldRecognizeSimultaneouslyWith otherGestureRecognizer: UIGestureRecognizer) -> Bool {
return true
return navigationController?.viewControllers.count ?? 0 > 2
}
}