enables back button on symptom view

This commit is contained in:
tina
2018-09-26 19:31:30 +02:00
parent c06bfa2c91
commit 1b11b24a4c
3 changed files with 6 additions and 14 deletions
-10
View File
@@ -10,7 +10,6 @@ import { bleeding as labels } from '../labels/labels'
import ActionButtonFooter from './action-button-footer'
import SelectTabGroup from '../select-tab-group'
import SymptomSection from './symptom-section'
import Header from '../../header'
export default class Bleeding extends Component {
constructor(props) {
@@ -32,15 +31,6 @@ export default class Bleeding extends Component {
]
return (
<View style={{ flex: 1 }}>
<Header
title={'Bleeding'}
isSymptomView={true}
goBack={() => this.props.navigate('CycleDay', this.props.cycleDay)}
cycleDayNumber={this.props.cycleDayNumber}
date={this.props.cycleDay.date}
infoTitle={'Info here'}
infoText={'bla bla'}
/>
<ScrollView style={styles.page}>
<SymptomSection
header="Heaviness"