AppIcon fix

This commit is contained in:
mashazyu
2020-03-24 16:09:44 +01:00
committed by Sofiya Tepikin
parent cec8dbaf38
commit 1077f878ae
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ AppIcon.propTypes = {
}
AppIcon.defaultProps = {
isCTA: 'black'
color: 'black'
}
const styles = StyleSheet.create({
+2 -2
View File
@@ -21,7 +21,7 @@ const SideMenu = ({ shouldShowMenu, toggleMenu }) => {
<React.Fragment>
{!shouldShowMenu &&
<TouchableOpacity onPress={toggleMenu}>
<AppIcon name={'dots-three-vertical'} color={Colors.orange}/>
<AppIcon name='dots-three-vertical' color={Colors.orange}/>
</TouchableOpacity>
}
{shouldShowMenu &&
@@ -34,7 +34,7 @@ const SideMenu = ({ shouldShowMenu, toggleMenu }) => {
<View style={styles.blackBackground}></View>
<View style={styles.menu}>
<TouchableOpacity onPress={toggleMenu} style={styles.iconContainer}>
<AppIcon name={'cross'} color={'black'}/>
<AppIcon name='cross' color='black'/>
</TouchableOpacity>
{settingsMenuItems.map(item =>
<MenuItem
+1 -1
View File
@@ -23,7 +23,7 @@ const MenuItem = ({ item, last, navigate }) => {
<AppText style={styles.title}>{item.name}</AppText>
{item.text.length > 0 && <AppText>{item.text}</AppText>}
</View>
<AppIcon name={'chevron-right'} color={Colors.orange}/>
<AppIcon name='chevron-right' color={Colors.orange}/>
</TouchableOpacity>
</Segment>
)