improve header for symptom screens

This commit is contained in:
tina
2018-09-28 13:05:47 +02:00
parent 1b11b24a4c
commit b09cd01cd5
2 changed files with 12 additions and 5 deletions
+5 -4
View File
@@ -34,11 +34,12 @@ export default class Header extends Component {
/> />
</View > </View >
: this.props.isSymptomView ? : this.props.isSymptomView ?
<View style={[styles.header, styles.headerCycleDay]}> <View style={[styles.header, styles.headerSymptom]}>
<Icon <Icon
name='arrow-left-drop-circle' name='keyboard-backspace'
{...iconStyles.navigationArrow} {...iconStyles.symptomHeaderIcons}
onPress={() => this.props.goBack()} onPress={() => this.props.goBack()}
/> />
<View> <View>
<Text style={styles.dateHeader}> <Text style={styles.dateHeader}>
@@ -47,7 +48,7 @@ export default class Header extends Component {
</View > </View >
<Icon <Icon
name='information-outline' name='information-outline'
{...iconStyles.navigationArrow} {...iconStyles.symptomHeaderIcons}
/> />
</View> </View>
: :
+7 -1
View File
@@ -133,7 +133,9 @@ export default StyleSheet.create({
height: '15%' height: '15%'
}, },
headerSymptom: { headerSymptom: {
height: '15%' flexDirection: 'row',
justifyContent: 'space-between',
height: '12%'
}, },
navigationArrow: { navigationArrow: {
fontSize: 60, fontSize: 60,
@@ -296,6 +298,10 @@ export const iconStyles = {
size: 45, size: 45,
color: fontOnPrimaryColor color: fontOnPrimaryColor
}, },
symptomHeaderIcons: {
size: 30,
color: fontOnPrimaryColor
},
symptomBox: { symptomBox: {
size: 40 size: 40
}, },