@nativescript-community/ui-image 4.3.4 → 4.3.5

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,14 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [4.3.5](https://github.com/nativescript-community/ui-image/compare/v4.3.4...v4.3.5) (2022-09-29)
7
+
8
+ **Note:** Version bump only for package @nativescript-community/ui-image
9
+
10
+
11
+
12
+
13
+
6
14
  ## [4.3.4](https://github.com/nativescript-community/ui-image/compare/v4.3.3...v4.3.4) (2022-09-20)
7
15
 
8
16
  **Note:** Version bump only for package @nativescript-community/ui-image
package/index.ios.js CHANGED
@@ -168,6 +168,9 @@ export class Img extends ImageBase {
168
168
  this._imageSourceAffectsLayout = true;
169
169
  this.handleImageLoaded = (image, error, cacheType) => {
170
170
  this.isLoading = false;
171
+ if (!this.nativeViewProtected) {
172
+ return;
173
+ }
171
174
  const animate = (this.alwaysFade || cacheType !== 2) && this.fadeDuration > 0;
172
175
  if (image) {
173
176
  this._setNativeImage(image, animate);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript-community/ui-image",
3
- "version": "4.3.4",
3
+ "version": "4.3.5",
4
4
  "description": "Advanced and efficient image display plugin which uses Fresco (Android) and SDWebImage (iOS) to implement caching, placeholders, image effects, and much more.",
5
5
  "main": "./index",
6
6
  "sideEffects": false,
@@ -44,5 +44,5 @@
44
44
  },
45
45
  "license": "Apache-2.0",
46
46
  "readmeFilename": "README.md",
47
- "gitHead": "9bd6af7233a62486e754dcdbeb8a95a53e73c041"
47
+ "gitHead": "8e01d92bb19439fe14e45f384a5238cfa4fc90e8"
48
48
  }