Make everything scrollable
This commit is contained in:
1 parent
48aba2bbaf
commit
2a2f91fc55
3 files changed
+11
-9
No files matched your search
@@ -1,7 +1,8 @@
|
||||
import React, { Component } from 'react'
|
||||
import {
|
||||
View,
|
||||
Text
|
||||
Text,
|
||||
ScrollView
|
||||
} from 'react-native'
|
||||
import cycleDayModule from '../../lib/get-cycle-day-number'
|
||||
import DayView from './cycle-day-overview'
|
||||
@@ -33,7 +34,7 @@ export default class Day extends Component {
|
||||
render() {
|
||||
const cycleDayNumber = getCycleDayNumber(this.cycleDay.date)
|
||||
return (
|
||||
<View>
|
||||
<ScrollView>
|
||||
<View style={ styles.cycleDayDateView }>
|
||||
<Text style={styles.dateHeader}>
|
||||
{formatDateForViewHeader(this.cycleDay.date)}
|
||||
@@ -51,7 +52,7 @@ export default class Day extends Component {
|
||||
}[this.state.visibleComponent]
|
||||
}
|
||||
</View >
|
||||
</View >
|
||||
</ScrollView >
|
||||
)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user