react-native-gleam 1.0.0-beta.5 → 1.0.0-beta.6

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.
Files changed (2) hide show
  1. package/ios/GleamView.mm +5 -1
  2. package/package.json +1 -1
package/ios/GleamView.mm CHANGED
@@ -319,8 +319,12 @@ static void _unregisterView(GleamView *view) {
319
319
  } else {
320
320
  _wasLoading = NO;
321
321
  _contentAlpha = 1.0;
322
- _lastSetChildrenAlpha = 1.0;
323
322
  _shimmerOpacity = 0.0;
323
+ _lastSetChildrenAlpha = -1.0;
324
+ for (UIView *subview in self.subviews) {
325
+ subview.alpha = 1.0;
326
+ }
327
+ _lastSetChildrenAlpha = 1.0;
324
328
  }
325
329
  } else {
326
330
  if (colorsChanged) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-native-gleam",
3
- "version": "1.0.0-beta.5",
3
+ "version": "1.0.0-beta.6",
4
4
  "description": "Native-powered shimmer loading effect for React Native",
5
5
  "main": "./lib/module/index.js",
6
6
  "types": "./lib/typescript/src/index.d.ts",