Fix: updates Cycle days once bleeding value is taken out
This commit is contained in:
1 parent
95cf6f6001
commit
a5b058486e
1 file changed
+1
-1
+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