Skip to content

Instantly share code, notes, and snippets.

View lamvd0101's full-sized avatar
🤩

Lâm lamvd0101

🤩
View GitHub Profile
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.9-all.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
import React from 'react';
import {View} from 'react-native';
import FastImage from 'react-native-fast-image';
export default () => {
return (
<View
style={{
flex: 1,
justifyContent: 'center',
module.exports = {
presets: [
[
'module:metro-react-native-babel-preset',
{
unstable_disableES6Transforms: true,
},
],
],
};
diff --git a/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m b/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m
index 01aa75f..4ef8307 100644
--- a/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m
+++ b/node_modules/react-native/Libraries/Image/RCTUIImageViewAnimated.m
@@ -269,6 +269,8 @@ - (void)displayLayer:(CALayer *)layer
if (_currentFrame) {
layer.contentsScale = self.animatedImageScale;
layer.contents = (__bridge id)_currentFrame.CGImage;
+ } else {
+ [super displayLayer:layer];
@lamvd0101
lamvd0101 / Podfile
Last active October 27, 2022 09:23
# ...
# Fix xcode 12.5
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
end
target.build_configurations.each do |config|