[FIX] Show images in iOS 14 (#2494)
This commit is contained in:
parent
f86b274bc8
commit
b73421daa6
|
@ -37,6 +37,19 @@ index 478af12..d3cd45c 100644
|
|||
ref.isFocused = isFocused;
|
||||
ref.getNativeRef = getNativeRef;
|
||||
}
|
||||
diff --git a/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m b/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m
|
||||
index af4becd..55bc2c8 100644
|
||||
--- a/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m
|
||||
+++ b/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m
|
||||
@@ -275,6 +275,8 @@ - (void)displayLayer:(CALayer *)layer
|
||||
if (_currentFrame) {
|
||||
layer.contentsScale = self.animatedImageScale;
|
||||
layer.contents = (__bridge id)_currentFrame.CGImage;
|
||||
+ } else {
|
||||
+ [super displayLayer:layer];
|
||||
}
|
||||
}
|
||||
|
||||
diff --git a/node_modules/react-native/Libraries/Network/RCTHTTPRequestHandler.mm b/node_modules/react-native/Libraries/Network/RCTHTTPRequestHandler.mm
|
||||
index 274f381..fa74a27 100644
|
||||
--- a/node_modules/react-native/Libraries/Network/RCTHTTPRequestHandler.mm
|
||||
|
|
Loading…
Reference in New Issue