mg-library 1.0.501 → 1.0.502

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.
Files changed (2) hide show
  1. package/blocks.js +3 -1
  2. package/package.json +1 -1
package/blocks.js CHANGED
@@ -97,6 +97,8 @@ export function MGWelcome(props) {
97
97
  </View>
98
98
  ) */
99
99
 
100
+ const scalingFactor = 0.5;
101
+
100
102
  return (
101
103
  <View style={mgFunctionsLib.getBasicStyleSheet().availableArea}>
102
104
  <FlatList
@@ -106,7 +108,7 @@ export function MGWelcome(props) {
106
108
  <Card header={cardHeader(item)} style={{ marginBottom: 10, marginHorizontal: 10 }}>
107
109
  {item.imageUrl != undefined &&
108
110
  <View style={{ flexGrow: 1, alignItems: 'center', marginBottom: 10 }}>
109
- <Image source={{ uri: item.imageUrl }} style={{ transform: scale(0.5) }} />
111
+ <Image source={{ uri: item.imageUrl }} style={{ transform: 'scale(${scalingFactor})' }} />
110
112
  </View>
111
113
  }
112
114
  <Text>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mg-library",
3
- "version": "1.0.501",
3
+ "version": "1.0.502",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {