Skip to content

Commit

Permalink
Delete unnecessary gesture recognizer code
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki-stripe committed Jan 29, 2025
1 parent db4cc57 commit 8754db5
Showing 1 changed file with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -382,18 +382,6 @@ extension RowButton: UIGestureRecognizerDelegate {
true
}

func gestureRecognizer(_ gestureRecognizer: UIGestureRecognizer, shouldReceive touch: UITouch) -> Bool {
if let accessoryView = rightAccessoryView as? RightAccessoryButton {
let locationInAccessoryView = touch.location(in: accessoryView)
if accessoryView.bounds.contains(locationInAccessoryView) {
accessoryView.handleTap()
return false
}
}

return true
}

func gestureRecognizer(
_ gestureRecognizer: UIGestureRecognizer,
shouldRequireFailureOf otherGestureRecognizer: UIGestureRecognizer
Expand Down

0 comments on commit 8754db5

Please sign in to comment.