Rename to secondarySymptomDisabledPrompt
This commit is contained in:
@@ -167,7 +167,7 @@ const Settings = () => {
|
|||||||
saveUseCervixAsSecondarySymptom(useCervixAsSecondarySymptom)
|
saveUseCervixAsSecondarySymptom(useCervixAsSecondarySymptom)
|
||||||
}
|
}
|
||||||
|
|
||||||
const secSymptomDisabledPrompt = () => {
|
const secondarySymptomDisabledPrompt = () => {
|
||||||
if (!isMucusTrackingCategoryEnabled == isCervixTrackingCategoryEnabled) {
|
if (!isMucusTrackingCategoryEnabled == isCervixTrackingCategoryEnabled) {
|
||||||
Alert.alert(
|
Alert.alert(
|
||||||
labels.secondarySymptom.disabled.title,
|
labels.secondarySymptom.disabled.title,
|
||||||
@@ -269,7 +269,7 @@ const Settings = () => {
|
|||||||
</Pressable>
|
</Pressable>
|
||||||
|
|
||||||
{/* used to be switch for onCervixToggle */}
|
{/* used to be switch for onCervixToggle */}
|
||||||
<Pressable onPress={secSymptomDisabledPrompt}>
|
<Pressable onPress={secondarySymptomDisabledPrompt}>
|
||||||
<Segment title={labels.secondarySymptom.title}>
|
<Segment title={labels.secondarySymptom.title}>
|
||||||
{!isTemperatureTrackingCategoryEnabled ||
|
{!isTemperatureTrackingCategoryEnabled ||
|
||||||
isSecondarySymptomDisabled ? (
|
isSecondarySymptomDisabled ? (
|
||||||
|
|||||||
Reference in New Issue
Block a user