From 49cc76d4ff2c0d91dd54929eb0ef14707e72ebf1 Mon Sep 17 00:00:00 2001 From: spaced4ndy <8711996+spaced4ndy@users.noreply.github.com> Date: Fri, 1 Dec 2023 18:05:15 +0400 Subject: [PATCH] less sensitive gesture --- apps/ios/Shared/Views/NewChat/NewChatView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/ios/Shared/Views/NewChat/NewChatView.swift b/apps/ios/Shared/Views/NewChat/NewChatView.swift index ecddd1408..d7b63c809 100644 --- a/apps/ios/Shared/Views/NewChat/NewChatView.swift +++ b/apps/ios/Shared/Views/NewChat/NewChatView.swift @@ -91,7 +91,7 @@ struct NewChatView: View { .fill(Color(uiColor: .systemGroupedBackground)) ) .animation(.easeInOut(duration: 0.3333), value: selection) - .gesture(DragGesture(minimumDistance: 3.0, coordinateSpace: .local) + .gesture(DragGesture(minimumDistance: 20.0, coordinateSpace: .local) .onChanged { value in switch(value.translation.width, value.translation.height) { case (...0, -30...30): // left swipe