enabling alert for disabled button in tab group

This commit is contained in:
wunderfisch
2024-02-28 13:06:25 +01:00
parent 661abc8aee
commit ad47b4bee0
2 changed files with 19 additions and 2 deletions
@@ -148,7 +148,12 @@ const Settings = () => {
if (isMucusTrackingCategoryEnabled && isCervixTrackingCategoryEnabled) {
setUseCervixAsSecondarySymptom(value)
saveUseCervixAsSecondarySymptom(value)
console.log('show SecSymp value :>> ', value)
} else if (!isFertilityTrackingEnabled) {
console.log('2 show SecSymp value :>> ', value)
secondarySymptomDisabledPrompt()
} else {
console.log('3 show SecSymp value :>> ', value)
secondarySymptomDisabledPrompt()
}
}