Auto save whenever symptom view updates
This commit is contained in:
@@ -19,7 +19,7 @@ export default class Desire extends SymptomView {
|
||||
|
||||
symptomName = 'desire'
|
||||
|
||||
onBackButtonPress() {
|
||||
autoSave = () => {
|
||||
if (typeof this.state.currentValue != 'number') {
|
||||
this.deleteSymptomEntry()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user