mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #2842 from omnivore-app/fix/ios-swipe-back-gesture-tolerance
Tweak the tolerance of the swipe back gesture
This commit is contained in:
commit
cd06fdb0d5
1 changed files with 2 additions and 2 deletions
|
|
@ -96,8 +96,8 @@
|
|||
}
|
||||
|
||||
case .ended:
|
||||
// Continue if drag more than 20% of screen width or velocity is higher than 1000
|
||||
if percent > 0.2 || velocity > 1000 {
|
||||
// Continue if drag more than 30% of screen width or velocity is higher than 1000
|
||||
if percent > 0.30 || velocity > 1000 {
|
||||
if let pop = self.pop {
|
||||
pop()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue