improve header for symptom screens
This commit is contained in:
@@ -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
@@ -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
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user