Commit 588d4194 authored by Felix Paul Kühne's avatar Felix Paul Kühne
Browse files

uiimage blurring: fix error from the future

parent ecc2a2b6
......@@ -26,6 +26,9 @@
@implementation UIImage (Blur)
+ (UIImage *)applyBlurOnImage:(UIImage *)imageToBlur withRadius:(CGFloat)blurRadius {
if (!imageToBlur)
return NULL;
if ((blurRadius < 0.0f) || (blurRadius > 1.0f)) {
blurRadius = 0.5f;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment