Rename to secondarySymptomDisabledPrompt
This commit is contained in:
1 parent
69c546f684
commit
d66e5f36e5
1 file changed
+2
-2
@@ -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 ? (
|
||||
|
||||
Reference in new issue
Block a user