Move cervix & mucus off turn fertility off logic out of local storage

This commit is contained in:
bl00dymarie
2024-02-23 16:38:44 +01:00
parent 5855ea0a34
commit 1c73509473
2 changed files with 2 additions and 16 deletions
@@ -173,6 +173,8 @@ const Settings = () => {
setIsSecondarySymptomDisabled(false)
} else if (!cervix && !mucus) {
setIsSecondarySymptomDisabled(true)
setFertilityTrackingEnabled(false)
saveFertilityTrackingEnabled(false)
}
setMucusTrackingCategory(mucus)
saveMucusTrackingCategory(mucus)