@shoutem/ui 6.4.1 → 6.4.3

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.
@@ -82,14 +82,10 @@ function ImageGallery({
82
82
  }
83
83
 
84
84
  const isImageVisible = pageIndex === selectedIndex;
85
- const transformImageProps = Image.getPropsTransformer();
86
85
  const imageProps = {
87
86
  source: { uri: image },
88
87
  style: style.image,
89
88
  };
90
- const transformedImageProps = _.isFunction(transformImageProps)
91
- ? transformImageProps(imageProps)
92
- : imageProps;
93
89
 
94
90
  const showOverlay =
95
91
  _.isFunction(renderImageOverlay) &&
@@ -102,7 +98,7 @@ function ImageGallery({
102
98
 
103
99
  return (
104
100
  <View key={pageIndex} style={style.page}>
105
- {renderImage(transformedImageProps, pageData, pageIndex)}
101
+ {renderImage(imageProps, pageData, pageIndex)}
106
102
  {overlay}
107
103
  </View>
108
104
  );
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoutem/ui",
3
- "version": "6.4.1",
3
+ "version": "6.4.3",
4
4
  "description": "Styleable set of components for React Native applications",
5
5
  "scripts": {
6
6
  "lint": "eslint .",
@@ -33,7 +33,7 @@
33
33
  "qs": "6.9.3",
34
34
  "react-native-device-info": "9.0.2",
35
35
  "react-native-lightbox-v2": "0.9.0",
36
- "react-native-linear-gradient": "2.6.2",
36
+ "react-native-linear-gradient": "2.8.3",
37
37
  "react-native-modal": "13.0.1",
38
38
  "react-native-render-html": "6.3.4",
39
39
  "react-native-svg": "12.3.0",