diff --git a/components/cycle-day/symptoms/temperature.js b/components/cycle-day/symptoms/temperature.js
index 11ee7da..1326d2f 100644
--- a/components/cycle-day/symptoms/temperature.js
+++ b/components/cycle-day/symptoms/temperature.js
@@ -33,7 +33,8 @@ export default class Temp extends Component {
exclude: temp ? temp.exclude : false,
time: temp ? temp.time : LocalTime.now().truncatedTo(minutes).toString(),
isTimePickerVisible: false,
- outOfRange: null
+ outOfRange: null,
+ note: temp ? temp.note : null
}
if (temp) {
@@ -54,7 +55,8 @@ export default class Temp extends Component {
const dataToSave = {
value: Number(this.state.temperature),
exclude: this.state.exclude,
- time: this.state.time
+ time: this.state.time,
+ note: this.state.note
}
saveSymptom('temperature', this.cycleDay, dataToSave)
this.props.navigate('CycleDay', {cycleDay: this.cycleDay})
@@ -126,6 +128,20 @@ export default class Temp extends Component {
}}
onCancel={() => this.setState({ isTimePickerVisible: false })}
/>
+
+ Note (anomaly)
+ {
+ this.setState({ note: val })
+ }}
+ />
+
Exclude