mirror of
https://github.com/samsonjs/SwiftyCam.git
synced 2026-03-25 09:05:52 +00:00
Fixed Video Crashing Issue
This commit is contained in:
parent
7aee7f5f1b
commit
6b41e540dd
1 changed files with 1 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ open class SwiftyCamButton: UIButton {
|
|||
case .began:
|
||||
delegate?.buttonDidBeginLongPress()
|
||||
startTimer()
|
||||
case .cancelled, .ended, .changed, .failed:
|
||||
case .ended:
|
||||
invalidateTimer()
|
||||
delegate?.buttonDidEndLongPress()
|
||||
default:
|
||||
|
|
|
|||
Loading…
Reference in a new issue