Created
February 9, 2021 14:52
-
-
Save navarroaxel/ce19a7822b2bdb65a316a79b62ac428c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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]; | |
} | |
} | |
diff --git a/node_modules/react-native/scripts/.packager.env b/node_modules/react-native/scripts/.packager.env | |
new file mode 100644 | |
index 0000000..361f5fb | |
--- /dev/null | |
+++ b/node_modules/react-native/scripts/.packager.env | |
@@ -0,0 +1 @@ | |
+export RCT_METRO_PORT=8081 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment