diff --git a/components/chart/chart.js b/components/chart/chart.js index dc3be06cfcf511d85267a81d66960981838f6f92..6d7dff38f09f18404b55a2142b46a369f95f035a 100644 --- a/components/chart/chart.js +++ b/components/chart/chart.js @@ -176,7 +176,7 @@ export default class CycleChart extends Component { styles.column.label.date, styles.yAxisLabels.dateLabel ]}> - {labels.date} + {labels.date.toLowerCase()} </AppText> </View> </View>} diff --git a/components/cycle-day/cycle-day-overview.js b/components/cycle-day/cycle-day-overview.js index 92b8ac0267a7f540732323af28abd0211f0db49a..88de356047e2f3c7ba53ee93f2ccfe4805a68015 100644 --- a/components/cycle-day/cycle-day-overview.js +++ b/components/cycle-day/cycle-day-overview.js @@ -261,7 +261,7 @@ class SymptomBox extends Component { <View style={[styles.symptomBox, boxActive, disabledStyle]}> <DripIcon name={this.props.iconName} size={50} color={d ? 'white' : 'black'}/> <AppText style={[textActive, disabledStyle]}> - {this.props.title} + {this.props.title.toLowerCase()} </AppText> </View> <View style={[styles.symptomDataBox, disabledStyle]}> diff --git a/components/cycle-day/symptoms/action-button-footer.js b/components/cycle-day/symptoms/action-button-footer.js index 34585509f421377e22411f4253592c378adb73c4..076b0bb827c5d9eca7d07c5ef0804dfa5f92699b 100644 --- a/components/cycle-day/symptoms/action-button-footer.js +++ b/components/cycle-day/symptoms/action-button-footer.js @@ -64,7 +64,6 @@ export default class ActionButtonFooter extends Component { ) : iconStyles.menuIcon - return ( <TouchableOpacity onPress={action} @@ -74,7 +73,7 @@ export default class ActionButtonFooter extends Component { > <Icon name={icon} {...iconStyle} /> <Text style={textStyle}> - {title} + {title.toLowerCase()} </Text> </TouchableOpacity> ) diff --git a/components/header/cycle-day.js b/components/header/cycle-day.js index 332b3005ca5764b7dd506541d7b2c7d34a1f11e9..b5dbbdfb2b15d615aad69c5c3144eb09950c59a4 100644 --- a/components/header/cycle-day.js +++ b/components/header/cycle-day.js @@ -10,7 +10,8 @@ import NavigationArrow from './navigation-arrow' const FormattedDate = ({ date }) => { const today = LocalDate.now() const dateToDisplay = LocalDate.parse(date) - return today.equals(dateToDisplay) ? 'today' : moment(date).format('MMMM Do YYYY') + const formattedDate = today.equals(dateToDisplay) ? 'today' : moment(date).format('MMMM Do YYYY') + return formattedDate.toLowerCase() } export default function CycleDayHeader({ date, ...props }) { @@ -26,7 +27,7 @@ export default function CycleDayHeader({ date, ...props }) { </Text> {props.cycleDayNumber && <Text style={styles.cycleDayNumber}> - Cycle day {props.cycleDayNumber} + {`Cycle day ${props.cycleDayNumber}`.toLowerCase()} </Text>} </View> <NavigationArrow direction='right' {...props}/>