Rename to secondarySymptomDisabledPrompt

This commit is contained in:
bl00dymarie
2024-02-19 18:10:57 +01:00
parent 69c546f684
commit d66e5f36e5
+2 -2
View File
@@ -167,7 +167,7 @@ const Settings = () => {
saveUseCervixAsSecondarySymptom(useCervixAsSecondarySymptom)
}
const secSymptomDisabledPrompt = () => {
const secondarySymptomDisabledPrompt = () => {
if (!isMucusTrackingCategoryEnabled == isCervixTrackingCategoryEnabled) {
Alert.alert(
labels.secondarySymptom.disabled.title,
@@ -269,7 +269,7 @@ const Settings = () => {
</Pressable>
{/* used to be switch for onCervixToggle */}
<Pressable onPress={secSymptomDisabledPrompt}>
<Pressable onPress={secondarySymptomDisabledPrompt}>
<Segment title={labels.secondarySymptom.title}>
{!isTemperatureTrackingCategoryEnabled ||
isSecondarySymptomDisabled ? (