AppIcon fix
This commit is contained in:
@@ -17,7 +17,7 @@ AppIcon.propTypes = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
AppIcon.defaultProps = {
|
AppIcon.defaultProps = {
|
||||||
isCTA: 'black'
|
color: 'black'
|
||||||
}
|
}
|
||||||
|
|
||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ const SideMenu = ({ shouldShowMenu, toggleMenu }) => {
|
|||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
{!shouldShowMenu &&
|
{!shouldShowMenu &&
|
||||||
<TouchableOpacity onPress={toggleMenu}>
|
<TouchableOpacity onPress={toggleMenu}>
|
||||||
<AppIcon name={'dots-three-vertical'} color={Colors.orange}/>
|
<AppIcon name='dots-three-vertical' color={Colors.orange}/>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
}
|
}
|
||||||
{shouldShowMenu &&
|
{shouldShowMenu &&
|
||||||
@@ -34,7 +34,7 @@ const SideMenu = ({ shouldShowMenu, toggleMenu }) => {
|
|||||||
<View style={styles.blackBackground}></View>
|
<View style={styles.blackBackground}></View>
|
||||||
<View style={styles.menu}>
|
<View style={styles.menu}>
|
||||||
<TouchableOpacity onPress={toggleMenu} style={styles.iconContainer}>
|
<TouchableOpacity onPress={toggleMenu} style={styles.iconContainer}>
|
||||||
<AppIcon name={'cross'} color={'black'}/>
|
<AppIcon name='cross' color='black'/>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
{settingsMenuItems.map(item =>
|
{settingsMenuItems.map(item =>
|
||||||
<MenuItem
|
<MenuItem
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ const MenuItem = ({ item, last, navigate }) => {
|
|||||||
<AppText style={styles.title}>{item.name}</AppText>
|
<AppText style={styles.title}>{item.name}</AppText>
|
||||||
{item.text.length > 0 && <AppText>{item.text}</AppText>}
|
{item.text.length > 0 && <AppText>{item.text}</AppText>}
|
||||||
</View>
|
</View>
|
||||||
<AppIcon name={'chevron-right'} color={Colors.orange}/>
|
<AppIcon name='chevron-right' color={Colors.orange}/>
|
||||||
</TouchableOpacity>
|
</TouchableOpacity>
|
||||||
</Segment>
|
</Segment>
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user