Allows to enter note in the future
This commit is contained in:
@@ -97,7 +97,7 @@ class CycleDayOverView extends Component {
|
||||
symptom={symptom}
|
||||
symptomData={symptomData}
|
||||
onPress={() => this.props.navigate(symptomEditView)}
|
||||
disabled={dateInFuture}
|
||||
disabled={dateInFuture && symptom !== 'note'}
|
||||
/>)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ import { saveSymptom } from '../../../db'
|
||||
|
||||
class Note extends Component {
|
||||
static propTypes = {
|
||||
cycleDay: PropTypes.object.isRequired,
|
||||
cycleDay: PropTypes.object,
|
||||
date: PropTypes.string.isRequired
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user