diff --git a/components/cycle-day/symptom-edit-view.js b/components/cycle-day/symptom-edit-view.js index 15d7a8d..0e188e7 100644 --- a/components/cycle-day/symptom-edit-view.js +++ b/components/cycle-day/symptom-edit-view.js @@ -117,15 +117,23 @@ const SymptomEditView = ({ date, onClose, symptom, symptomData }) => { style: styles.input, textAlignVertical: 'top', } - const excludeToggle = shouldShow(symptomConfig.excludeText) && ( - - - - ) + + { + /* show exclude AppSwitch for bleeding, mucus, cervix, temperature */ + } + { + /* but if fertility is off only for bleeding */ + } + const excludeToggle = shouldShow(symptomConfig.excludeText) && + (isBleeding || isFertilityTrackingEnabled) && ( + + + + ) return ( @@ -189,18 +197,6 @@ const SymptomEditView = ({ date, onClose, symptom, symptomData }) => { ) })} - {/* show exclude AppSwitch for bleeding, mucus, cervix, temperature */} - {/* but if fertility is off only for bleeding */} - {shouldShow(symptomConfig.excludeText) && - (symptom === 'bleeding' || isFertilityTrackingEnabled) && ( - - - - )} {!isBleeding && excludeToggle}