fixed background missing color

This commit is contained in:
u-e 2019-05-17 19:16:56 +03:00
parent f6a982ed51
commit b30282fd08
2 changed files with 5 additions and 4 deletions

View File

@ -2,7 +2,8 @@ import EStyleSheet from 'react-native-extended-stylesheet';
export default EStyleSheet.create({
container: {
flexDirection: 'column',
backgroundColor: '$primaryBackgroundColor',
flex: 1,
},
header: {
marginHorizontal: 16,
@ -18,7 +19,7 @@ export default EStyleSheet.create({
flexDirection: 'row',
},
scroll: {
height: '$deviceHeight / 1.135',
height: '$deviceHeight',
backgroundColor: '$primaryBackgroundColor',
marginBottom: 50,
},

View File

@ -153,7 +153,7 @@ class PostDisplayView extends PureComponent {
}
return (
<Fragment>
<View style={styles.container}>
<ScrollView style={styles.scroll} onScroll={event => this._handleOnScroll(event)}>
{parentPost && <ParentPost post={parentPost} />}
@ -197,7 +197,7 @@ class PostDisplayView extends PureComponent {
)}
</ScrollView>
{post && this._getTabBar(true)}
</Fragment>
</View>
);
}
}