Skip to content

Commit

Permalink
Contextual closure type '() -> Void' expects 0 arguments, but 1 was u…
Browse files Browse the repository at this point in the history
…sed in closure body

refs artemkrachulov#41
  • Loading branch information
ykws committed Jan 18, 2022
1 parent 32f6af1 commit 8684c4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AKImageCropperView/AKImageCropperOverlayView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ open class AKImageCropperOverlayView: UIView {
return
}

let animations: () -> Void = { _ in
let animations: () -> Void = {
self.gridView.alpha = show ? 1 : 0
}

Expand Down

0 comments on commit 8684c4d

Please sign in to comment.