Allows to enter note in the future

This commit is contained in:
mashazyu
2020-03-30 18:34:26 +02:00
parent 297c1cf3d5
commit 7d46706cf2
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ class CycleDayOverView extends Component {
symptom={symptom}
symptomData={symptomData}
onPress={() => this.props.navigate(symptomEditView)}
disabled={dateInFuture}
disabled={dateInFuture && symptom !== 'note'}
/>)
})
}
+1 -1
View File
@@ -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
}