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 >
: this.props.isSymptomView ?
<View style={[styles.header, styles.headerCycleDay]}>
<View style={[styles.header, styles.headerSymptom]}>
<Icon
name='arrow-left-drop-circle'
{...iconStyles.navigationArrow}
name='keyboard-backspace'
{...iconStyles.symptomHeaderIcons}
onPress={() => this.props.goBack()}
/>
<View>
<Text style={styles.dateHeader}>
@@ -47,7 +48,7 @@ export default class Header extends Component {
</View >
<Icon
name='information-outline'
{...iconStyles.navigationArrow}
{...iconStyles.symptomHeaderIcons}
/>
</View>
:
+7 -1
View File
@@ -133,7 +133,9 @@ export default StyleSheet.create({
height: '15%'
},
headerSymptom: {
height: '15%'
flexDirection: 'row',
justifyContent: 'space-between',
height: '12%'
},
navigationArrow: {
fontSize: 60,
@@ -296,6 +298,10 @@ export const iconStyles = {
size: 45,
color: fontOnPrimaryColor
},
symptomHeaderIcons: {
size: 30,
color: fontOnPrimaryColor
},
symptomBox: {
size: 40
},