diff --git a/LeadKit/.DS_Store b/LeadKit/.DS_Store index 496be19f..e29d9bc7 100644 Binary files a/LeadKit/.DS_Store and b/LeadKit/.DS_Store differ diff --git a/LeadKit/LeadKit/Extensions/UIImage/UIImage+Gradients.swift b/LeadKit/LeadKit/Extensions/UIImage/UIImage+Gradients.swift index 2a95a06f..8aae3327 100644 --- a/LeadKit/LeadKit/Extensions/UIImage/UIImage+Gradients.swift +++ b/LeadKit/LeadKit/Extensions/UIImage/UIImage+Gradients.swift @@ -21,7 +21,7 @@ public extension UIImage { UIGraphicsBeginImageContextWithOptions(size, false, 0) let context = UIGraphicsGetCurrentContext() let colorSpace = CGColorSpaceCreateDeviceRGB() - let colors = gradientColors.map { return $0.CGColor } + let colors = gradientColors.map { $0.CGColor } let gradient = CGGradientCreateWithColors(colorSpace, colors, nil) CGContextDrawLinearGradient(context, gradient, @@ -54,7 +54,7 @@ public extension UIImage { CGContextDrawImage(context, rect, CGImage) // Create gradient let colorSpace = CGColorSpaceCreateDeviceRGB() - let colors = gradientColors.map { return $0.CGColor } + let colors = gradientColors.map { $0.CGColor } let gradient = CGGradientCreateWithColors(colorSpace, colors, nil) // Apply gradient CGContextClipToMask(context, rect, CGImage)