Verified Commit 404e7514 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix background of pizzas scrollview

parent 323bce51
......@@ -176,6 +176,7 @@ class PizzaScreen extends Component {
onRefresh={this.handleRefresh}
/>
)}
style={styles.scrollView}
contentContainerStyle={styles.content}
>
<ErrorScreen message={this.props.t('Sorry! We couldn\'t load any data.')} />
......@@ -190,6 +191,7 @@ class PizzaScreen extends Component {
onRefresh={this.handleRefresh}
/>
)}
style={styles.scrollView}
contentContainerStyle={styles.content}
>
<Text
......@@ -226,6 +228,7 @@ class PizzaScreen extends Component {
/>
)}
ref={(ref) => { this.pizzaScroll = ref; }}
style={styles.scrollView}
>
<View style={styles.content}>
{this.getEventInfo(subtitle)}
......
......@@ -2,6 +2,10 @@ import Colors from '../../../style/Colors';
import StyleSheet from '../../../style/StyleSheet';
const styles = StyleSheet.create({
scrollView: {
flex: 1,
backgroundColor: Colors.background,
},
content: {
flex: 1,
padding: 8,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment