Fix menu on calendar view
This commit is contained in:
@@ -35,15 +35,11 @@ export default class CalendarView extends Component {
|
|||||||
|
|
||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<View>
|
|
||||||
<View style={styles.container}>
|
|
||||||
<CalendarList
|
<CalendarList
|
||||||
onDayPress={this.passDateToDayView.bind(this)}
|
onDayPress={this.passDateToDayView.bind(this)}
|
||||||
markedDates={this.state.bleedingDaysInCalFormat}
|
markedDates={this.state.bleedingDaysInCalFormat}
|
||||||
markingType={'period'}
|
markingType={'period'}
|
||||||
/>
|
/>
|
||||||
</View>
|
|
||||||
</View>
|
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user