From 748c7d46b69574b45381e7c17679ab42f5d70772 Mon Sep 17 00:00:00 2001 From: Bogdan Poplauschi Date: Wed, 18 Oct 2017 19:21:15 +0300 Subject: [PATCH] Explicitly set `diskCacheReadingOptions` to its default value 0 --- SDWebImage/SDImageCacheConfig.m | 1 + 1 file changed, 1 insertion(+) diff --git a/SDWebImage/SDImageCacheConfig.m b/SDWebImage/SDImageCacheConfig.m index 6b588ebd..7a5af6cb 100644 --- a/SDWebImage/SDImageCacheConfig.m +++ b/SDWebImage/SDImageCacheConfig.m @@ -17,6 +17,7 @@ static const NSInteger kDefaultCacheMaxCacheAge = 60 * 60 * 24 * 7; // 1 week _shouldDecompressImages = YES; _shouldDisableiCloud = YES; _shouldCacheImagesInMemory = YES; + _diskCacheReadingOptions = 0; _maxCacheAge = kDefaultCacheMaxCacheAge; _maxCacheSize = 0; }