Fix: updates Cycle days once bleeding value is taken out
This commit is contained in:
+1
-1
@@ -90,7 +90,7 @@ export function saveSymptom(symptom, date, val) {
|
||||
let cycleDay = getCycleDay(date)
|
||||
if (!cycleDay) cycleDay = createCycleDay(date)
|
||||
db.write(() => {
|
||||
if (symptom === 'bleeding' && val && val.value != null) {
|
||||
if (symptom === 'bleeding') {
|
||||
const mensesDaysAfter = getMensesDaysRightAfter(cycleDay)
|
||||
maybeSetNewCycleStart({
|
||||
val,
|
||||
|
||||
Reference in New Issue
Block a user