From 8684c4d7328a85f90cce6eed1b8d14983333ff7a Mon Sep 17 00:00:00 2001 From: KAWASHIMA Yoshiyuki Date: Tue, 18 Jan 2022 11:32:01 +0900 Subject: [PATCH] Contextual closure type '() -> Void' expects 0 arguments, but 1 was used in closure body refs #41 --- AKImageCropperView/AKImageCropperOverlayView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AKImageCropperView/AKImageCropperOverlayView.swift b/AKImageCropperView/AKImageCropperOverlayView.swift index da7096d..12fc350 100644 --- a/AKImageCropperView/AKImageCropperOverlayView.swift +++ b/AKImageCropperView/AKImageCropperOverlayView.swift @@ -479,7 +479,7 @@ open class AKImageCropperOverlayView: UIView { return } - let animations: () -> Void = { _ in + let animations: () -> Void = { self.gridView.alpha = show ? 1 : 0 }