mg-library 1.0.503 → 1.0.505
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.
- package/blocks.js +1 -3
- package/package.json +1 -1
package/blocks.js
CHANGED
@@ -97,8 +97,6 @@ export function MGWelcome(props) {
|
|
97
97
|
</View>
|
98
98
|
) */
|
99
99
|
|
100
|
-
const scalingFactor = 0.5;
|
101
|
-
|
102
100
|
return (
|
103
101
|
<View style={mgFunctionsLib.getBasicStyleSheet().availableArea}>
|
104
102
|
<FlatList
|
@@ -108,7 +106,7 @@ export function MGWelcome(props) {
|
|
108
106
|
<Card header={cardHeader(item)} style={{ marginBottom: 10, marginHorizontal: 10 }}>
|
109
107
|
{item.imageUrl != undefined &&
|
110
108
|
<View style={{ flexGrow: 1, alignItems: 'center', marginBottom: 10 }}>
|
111
|
-
<Image source={{ uri: item.imageUrl }} style={{
|
109
|
+
<Image source={{ uri: item.imageUrl }} style={{ width: '70%', resizeMode: 'contain', height: undefined, aspectRatio: 1 }} />
|
112
110
|
</View>
|
113
111
|
}
|
114
112
|
<Text>
|