Skip to content
Snippets Groups Projects
Commit 90e0cdff authored by Julia Friesel's avatar Julia Friesel
Browse files

Fix go to next cycle day

parent c0980a5b
No related branches found
No related tags found
No related merge requests found
......@@ -55,6 +55,7 @@ export default class CycleDayOverView extends Component {
isCycleDayOverView={true}
cycleDayNumber={cycleDayNumber}
date={cycleDay.date}
goToCycleDay={this.goToCycleDay.bind(this)}
/>
<ScrollView>
<View style={styles.symptomBoxesView}>
......
......@@ -15,7 +15,7 @@ export default class Header extends Component {
<Icon
name='arrow-left-drop-circle'
{...iconStyles.navigationArrow}
onPress={() => this.goToCycleDay('before')}
onPress={() => this.props.goToCycleDay('before')}
/>
<View>
<Text style={styles.dateHeader}>
......@@ -29,7 +29,7 @@ export default class Header extends Component {
<Icon
name='arrow-right-drop-circle'
{...iconStyles.navigationArrow}
onPress={() => this.goToCycleDay('after')}
onPress={() => this.props.goToCycleDay('after')}
/>
</View >
:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment