From eb7ff1bd5327e66c1540400ee5765886db60bc16 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Tue, 3 Oct 2023 13:54:34 +0800 Subject: [PATCH] Tweak the tolerance of the swipe back gesture --- .../Sources/App/Views/SwipeRightToPopViewController.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apple/OmnivoreKit/Sources/App/Views/SwipeRightToPopViewController.swift b/apple/OmnivoreKit/Sources/App/Views/SwipeRightToPopViewController.swift index e1b58cf61..3469f315e 100644 --- a/apple/OmnivoreKit/Sources/App/Views/SwipeRightToPopViewController.swift +++ b/apple/OmnivoreKit/Sources/App/Views/SwipeRightToPopViewController.swift @@ -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() }