Skip to content
Snippets Groups Projects
Commit 7dc78ff3 authored by Julia Friesel's avatar Julia Friesel
Browse files

Only show cycle day label when there is a cycle day number

parent 166c6958
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ export default class Day extends Component {
return (
<View style={styles.container}>
<Text style={styles.welcome}>{formatDateForViewHeader(this.cycleDay.date)}</Text>
<Text>Cycle day {getCycleDayNumber(this.cycleDay.date)}</Text>
{ this.cycleDayNumber && <Text>Cycle day {this.cycleDayNumber}</Text> }
{
{ dayView: <DayView cycleDay={this.cycleDay} bringIntoView={this.bringIntoView} />,
bleedingEditView: <BleedingEditView cycleDay={this.cycleDay} bringIntoView={this.bringIntoView}/>,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment