Fix action buttons

This commit is contained in:
Julia Friesel
2018-08-18 16:01:49 +02:00
parent a754981434
commit 322b3c00d7
2 changed files with 7 additions and 10 deletions
+3 -4
View File
@@ -38,10 +38,9 @@ export default class SymptomView extends Component {
cycleDay: props.navigation.state.params.cycleDay
}
this.showView = view => {
this.setState({visibleComponent: view})
}
this.makeActionButtons = actionButtonModule(this.showView)
this.makeActionButtons = actionButtonModule(() => {
this.props.navigation.navigate('CycleDay', {cycleDay: this.state.cycleDay})
})
}
render() {