react-native-fast-image 8.17.0 → 8.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -107,7 +107,10 @@ RCT_EXPORT_METHOD(preload:(nonnull NSArray<FFFastImageSource *> *)sources
|
|
|
107
107
|
}
|
|
108
108
|
[results addObject:[NSNull null]];
|
|
109
109
|
// A source's own priority replaces the prefetcher's, as on Android.
|
|
110
|
-
|
|
110
|
+
// Failed urls are tried again, as views do (SDWebImage otherwise
|
|
111
|
+
// fails a url that failed before, e.g. with data that isn't an
|
|
112
|
+
// image, without a request until the app is relaunched, #394).
|
|
113
|
+
SDWebImageOptions options = prefetcherOptions | SDWebImageRetryFailed;
|
|
111
114
|
if (source.hasPriority) {
|
|
112
115
|
options &= ~(SDWebImageLowPriority | SDWebImageHighPriority);
|
|
113
116
|
if (source.priority == FFFPriorityLow) {
|