Fix menu on calendar view

This commit is contained in:
Julia Friesel
2018-08-20 15:30:14 +02:00
parent e2b9d4b4a1
commit 93b4758123
2 changed files with 5 additions and 13 deletions
+5 -9
View File
@@ -35,15 +35,11 @@ export default class CalendarView extends Component {
render() { render() {
return ( return (
<View> <CalendarList
<View style={styles.container}> onDayPress={this.passDateToDayView.bind(this)}
<CalendarList markedDates={this.state.bleedingDaysInCalFormat}
onDayPress={this.passDateToDayView.bind(this)} markingType={'period'}
markedDates={this.state.bleedingDaysInCalFormat} />
markingType={'period'}
/>
</View>
</View>
) )
} }
} }
-4
View File
@@ -5,10 +5,6 @@ export const secondaryColor = '#351c4d'
export const fontOnPrimaryColor = 'white' export const fontOnPrimaryColor = 'white'
export default StyleSheet.create({ export default StyleSheet.create({
container: {
justifyContent: 'center',
alignItems: 'center'
},
welcome: { welcome: {
fontSize: 20, fontSize: 20,
margin: 30, margin: 30,