react-native-gleam 1.0.0-beta.4 → 1.0.0-beta.4.2
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/ios/GleamView.mm +3 -3
- package/package.json +1 -1
package/ios/GleamView.mm
CHANGED
|
@@ -128,8 +128,8 @@ static void _unregisterView(GleamView *view) {
|
|
|
128
128
|
- (void)mountChildComponentView:(UIView<RCTComponentViewProtocol> *)childComponentView index:(NSInteger)index
|
|
129
129
|
{
|
|
130
130
|
[super mountChildComponentView:childComponentView index:index];
|
|
131
|
-
if (_loading) {
|
|
132
|
-
childComponentView.alpha =
|
|
131
|
+
if (_loading || _isTransitioning) {
|
|
132
|
+
childComponentView.alpha = _contentAlpha;
|
|
133
133
|
}
|
|
134
134
|
}
|
|
135
135
|
|
|
@@ -405,7 +405,7 @@ static void _unregisterView(GleamView *view) {
|
|
|
405
405
|
if (shouldAnimate) {
|
|
406
406
|
_isTransitioning = YES;
|
|
407
407
|
_transitionElapsed = 0.0;
|
|
408
|
-
|
|
408
|
+
[self _registerClock];
|
|
409
409
|
} else {
|
|
410
410
|
[self _unregisterClock];
|
|
411
411
|
[self _setChildrenAlpha:1.0];
|
package/package.json
CHANGED