changes in customization texts and small changes to styling
This commit is contained in:
@@ -34,10 +34,10 @@ AppSwitch.propTypes = {
|
|||||||
const styles = StyleSheet.create({
|
const styles = StyleSheet.create({
|
||||||
container: {
|
container: {
|
||||||
...Containers.rowContainer,
|
...Containers.rowContainer,
|
||||||
|
marginTop: Spacing.tiny,
|
||||||
},
|
},
|
||||||
switch: {
|
switch: {
|
||||||
flex: 1,
|
flex: 1,
|
||||||
marginBottom: Spacing.tiny,
|
|
||||||
transform:
|
transform:
|
||||||
Platform.OS === 'ios'
|
Platform.OS === 'ios'
|
||||||
? [{ scaleX: 0.8 }, { scaleY: 0.8 }]
|
? [{ scaleX: 0.8 }, { scaleY: 0.8 }]
|
||||||
|
|||||||
@@ -246,23 +246,21 @@ const Settings = () => {
|
|||||||
/>
|
/>
|
||||||
</Segment>
|
</Segment>
|
||||||
<Pressable onPress={sliderDisabledPrompt}>
|
<Pressable onPress={sliderDisabledPrompt}>
|
||||||
|
|
||||||
<Segment title={labels.fertilityTracking.title}>
|
<Segment title={labels.fertilityTracking.title}>
|
||||||
{isTemperatureTrackingCategoryEnabled &&
|
{isTemperatureTrackingCategoryEnabled &&
|
||||||
isMucusTrackingCategoryEnabled ||
|
(isMucusTrackingCategoryEnabled ||
|
||||||
isCervixTrackingCategoryEnabled ?
|
isCervixTrackingCategoryEnabled) ? (
|
||||||
(
|
<>
|
||||||
<>
|
<AppText>{labels.fertilityTracking.message}</AppText>
|
||||||
<AppSwitch
|
<AppSwitch
|
||||||
onToggle={fertilityTrackingToggle}
|
onToggle={fertilityTrackingToggle}
|
||||||
text={fertilityTrackingText}
|
text={fertilityTrackingText}
|
||||||
value={isFertilityTrackingEnabled}
|
value={isFertilityTrackingEnabled}
|
||||||
/>
|
/>
|
||||||
</>
|
</>
|
||||||
) :
|
) : (
|
||||||
(
|
|
||||||
<AppText>{labels.disabled.message}</AppText>
|
<AppText>{labels.disabled.message}</AppText>
|
||||||
)}
|
)}
|
||||||
</Segment>
|
</Segment>
|
||||||
</Pressable>
|
</Pressable>
|
||||||
|
|
||||||
|
|||||||
+8
-6
@@ -41,7 +41,7 @@ export default {
|
|||||||
disabled: {
|
disabled: {
|
||||||
title: 'This feature is turned off',
|
title: 'This feature is turned off',
|
||||||
message:
|
message:
|
||||||
'Please first enable the temperature tracking category in the customization settings.',
|
'To use the temperature scale please first enable the temperature tracking category above.',
|
||||||
},
|
},
|
||||||
tempReminder: {
|
tempReminder: {
|
||||||
title: 'Temperature reminder',
|
title: 'Temperature reminder',
|
||||||
@@ -68,8 +68,10 @@ export default {
|
|||||||
},
|
},
|
||||||
fertilityTracking: {
|
fertilityTracking: {
|
||||||
title: 'Fertility phases calculation',
|
title: 'Fertility phases calculation',
|
||||||
on: 'The quick brown fox jumps over the lazy dog',
|
message:
|
||||||
off: 'No no',
|
'If you enter menstrual bleeding, temperature and cervical mucus or cervix data according to the sympto-thermal rules, drip will calculate cycle phases with the provided data.',
|
||||||
|
on: 'If you switch this off, drip will not show fertility related information.',
|
||||||
|
off: 'If you switch this on, drip will show fertility related information.',
|
||||||
},
|
},
|
||||||
secondarySymptom: {
|
secondarySymptom: {
|
||||||
title: 'Secondary symptom',
|
title: 'Secondary symptom',
|
||||||
@@ -80,16 +82,16 @@ export default {
|
|||||||
disabled: {
|
disabled: {
|
||||||
title: 'Disabled',
|
title: 'Disabled',
|
||||||
message:
|
message:
|
||||||
'To set a secondary symptom please first enable the temperature, cervical mucus or cervix tracking category as well as the fertility feature in the customization settings.',
|
'To set a secondary symptom please first enable the temperature, cervical mucus or cervix tracking category as well as the fertility feature above.',
|
||||||
noSecondaryEnabled:
|
noSecondaryEnabled:
|
||||||
'To switch the secondary symptom both cervical mucus an cervix need to be enabled in the customization settings.',
|
'To switch the secondary symptom both cervical mucus and cervix need to be enabled above.',
|
||||||
},
|
},
|
||||||
mucus: 'cervical mucus',
|
mucus: 'cervical mucus',
|
||||||
cervix: 'cervix',
|
cervix: 'cervix',
|
||||||
},
|
},
|
||||||
periodPrediction: {
|
periodPrediction: {
|
||||||
title: 'Period predictions',
|
title: 'Period predictions',
|
||||||
on: 'drip predicts your 3 next menstrual bleedings based on the statistics of your previously tracked cycles, min 3 complete cycles.',
|
on: 'drip predicts your 3 next menstrual bleedings based on statistics if you previously tracked at least 3 complete cycles.',
|
||||||
off: 'There are no predictions for menstrual cycles displayed. If turned on the calendar and the home screen will display period predictions.',
|
off: 'There are no predictions for menstrual cycles displayed. If turned on the calendar and the home screen will display period predictions.',
|
||||||
},
|
},
|
||||||
passwordSettings: {
|
passwordSettings: {
|
||||||
|
|||||||
@@ -36,6 +36,6 @@ export default {
|
|||||||
},
|
},
|
||||||
segmentContainer: {
|
segmentContainer: {
|
||||||
marginHorizontal: Spacing.base,
|
marginHorizontal: Spacing.base,
|
||||||
marginBottom: Spacing.tiny,
|
marginBottom: Spacing.base,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user