Skip to content

Commit

Permalink
fix code
Browse files Browse the repository at this point in the history
  • Loading branch information
horitaku46 committed Dec 23, 2017
1 parent 77e7e11 commit 8035f71
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions Serrata/Sources/SlideLeafCell.swift
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,8 @@ open class SlideLeafCell: UICollectionViewCell {
}

@objc private func longPressGesture(_ sender: UILongPressGestureRecognizer) {
switch sender.state {
case .began:
if sender.state == .began {
delegate?.longPressImageView()
default:
break
}
}
}
Expand Down

0 comments on commit 8035f71

Please sign in to comment.