react-native-fast-image 8.6.27 → 8.6.28

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.
@@ -55,7 +55,9 @@
55
55
  }
56
56
 
57
57
  - (void) setOnFastImageLoadStart: (RCTDirectEventBlock)onFastImageLoadStart {
58
- if (_source && !self.hasSentOnLoadStart && onFastImageLoadStart) {
58
+ // Send it for a load that has already started. When a reload is pending
59
+ // (e.g. source set in the same update), reloadImage sends it.
60
+ if (_source && !_needsReload && !self.hasSentOnLoadStart && onFastImageLoadStart) {
59
61
  _onFastImageLoadStart = onFastImageLoadStart;
60
62
  onFastImageLoadStart(@{});
61
63
  self.hasSentOnLoadStart = YES;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-fast-image",
3
- "version": "8.6.27",
3
+ "version": "8.6.28",
4
4
  "description": "🚩 FastImage, performant React Native image component.",
5
5
  "keywords": [
6
6
  "cache",