mirror of
https://github.com/standardnotes/mobile.git
synced 2026-02-06 14:01:46 -05:00
14 lines
572 B
Diff
14 lines
572 B
Diff
diff --git a/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m b/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m
|
|
index 21f1a06..0ff66f3 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];
|
|
}
|
|
}
|
|
|