Browse Source

Fixed intro image

Arnaud Vergnet 1 year ago
parent
commit
5048f979a7
1 changed files with 7 additions and 1 deletions
  1. 7
    1
      src/components/Overrides/CustomIntroSlider.js

+ 7
- 1
src/components/Overrides/CustomIntroSlider.js View File

@@ -120,7 +120,13 @@ export default class CustomIntroSlider extends React.Component<Props> {
120 120
                 end={{x: 0.1, y: 1}}
121 121
             >
122 122
                 {item.image !== undefined ?
123
-                    <Image source={item.image} style={styles.image}/>
123
+                    <View style={styles.image}>
124
+                        <Image
125
+                            source={item.image}
126
+                            resizeMode={"contain"}
127
+                            style={{width: '100%', height: '100%'}}
128
+                            />
129
+                    </View>
124 130
                     : <MaterialCommunityIcons
125 131
                         name={item.icon}
126 132
                         color={'#fff'}

Loading…
Cancel
Save