diff --git a/apps/ios/Shared/Views/ChatList/UserPicker.swift b/apps/ios/Shared/Views/ChatList/UserPicker.swift index 1effb109ab..223d782f36 100644 --- a/apps/ios/Shared/Views/ChatList/UserPicker.swift +++ b/apps/ios/Shared/Views/ChatList/UserPicker.swift @@ -234,14 +234,11 @@ struct ListRow: ViewModifier { } catch { } } case .ended: - task?.cancel() if hitTest(gesture.location(in: self), with: nil) == self { - representer?.touchDown = true - withAnimation(.easeIn(duration: 0.05)) { representer?.touchDown = false } representer?.action() - } else { - representer?.touchDown = false } + task?.cancel() + representer?.touchDown = false case .changed: if let startLocation { let location = gesture.location(in: nil) diff --git a/apps/ios/Shared/Views/Helpers/SheetRepresentable.swift b/apps/ios/Shared/Views/Helpers/SheetRepresentable.swift index 8f8870e71f..23df9f534d 100644 --- a/apps/ios/Shared/Views/Helpers/SheetRepresentable.swift +++ b/apps/ios/Shared/Views/Helpers/SheetRepresentable.swift @@ -40,7 +40,6 @@ struct SheetRepresentable: UIViewControllerRepresentable { func updateUIViewController(_ sheetController: Controller, context: Context) { sheetController.animate(isPresented: isPresented) - sheetController.hostingController.rootView = content } class Controller: UIViewController {