forked from vergnet/application-amicale
Fixed intro image
This commit is contained in:
parent
51ffb15365
commit
5048f979a7
1 changed files with 7 additions and 1 deletions
|
@ -120,7 +120,13 @@ export default class CustomIntroSlider extends React.Component<Props> {
|
|||
end={{x: 0.1, y: 1}}
|
||||
>
|
||||
{item.image !== undefined ?
|
||||
<Image source={item.image} style={styles.image}/>
|
||||
<View style={styles.image}>
|
||||
<Image
|
||||
source={item.image}
|
||||
resizeMode={"contain"}
|
||||
style={{width: '100%', height: '100%'}}
|
||||
/>
|
||||
</View>
|
||||
: <MaterialCommunityIcons
|
||||
name={item.icon}
|
||||
color={'#fff'}
|
||||
|
|
Loading…
Reference in a new issue