Merge branch 'master' into 117-implement-pain
This commit is contained in:
@@ -33,7 +33,7 @@ export default class CycleDayOverView extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
goToCycleDay(target) {
|
||||
goToCycleDay = (target) => {
|
||||
const localDate = LocalDate.parse(this.state.cycleDay.date)
|
||||
const targetDate = target === 'before' ?
|
||||
localDate.minusDays(1).toString() :
|
||||
@@ -57,7 +57,7 @@ export default class CycleDayOverView extends Component {
|
||||
isCycleDayOverView={true}
|
||||
cycleDayNumber={cycleDayNumber}
|
||||
date={cycleDay.date}
|
||||
goToCycleDay={this.goToCycleDay.bind(this)}
|
||||
goToCycleDay={this.goToCycleDay}
|
||||
/>
|
||||
<ScrollView>
|
||||
<View style={styles.symptomBoxesView}>
|
||||
|
||||
Reference in New Issue
Block a user