icon refine

This commit is contained in:
Nouman Tahir 2021-04-23 00:24:46 +05:00
parent 2c36446e5a
commit 1f2b017b83
2 changed files with 10 additions and 1 deletions

View File

@ -61,6 +61,14 @@ export default EStyleSheet.create({
color: '$iconColor', color: '$iconColor',
justifyContent: 'center', justifyContent: 'center',
}, },
viewIconContainer: {
marginRight: 8,
},
viewIcon: {
fontSize: 24,
color: '$iconColor',
justifyContent: 'center',
},
backButton: { backButton: {
marginLeft: 24, marginLeft: 24,
}, },

View File

@ -113,7 +113,8 @@ const HeaderView = ({
<View style={styles.backButtonWrapper}> <View style={styles.backButtonWrapper}>
{enableViewModeToggle && ( {enableViewModeToggle && (
<IconButton <IconButton
iconStyle={styles.backIcon} style={styles.viewIconContainer}
iconStyle={styles.viewIcon}
name="view-module" name="view-module"
iconType="MaterialIcons" iconType="MaterialIcons"
onPress={handleOnViewModePress} onPress={handleOnViewModePress}