fixed image cover

This commit is contained in:
u-e 2019-01-15 17:16:33 +03:00
parent a26445c168
commit 35bd98f311

View File

@ -89,7 +89,12 @@ class PostCardView extends Component {
onPress={() => this._handleOnContentPress()} onPress={() => this._handleOnContentPress()}
> >
{!isHideImage && ( {!isHideImage && (
<FastImage source={_image} style={styles.thumbnail} defaultSource={DEFAULT_IMAGE} /> <FastImage
source={_image}
style={styles.thumbnail}
defaultSource={DEFAULT_IMAGE}
resizeMode={FastImage.resizeMode.stretch}
/>
)} )}
<View style={[styles.postDescripton]}> <View style={[styles.postDescripton]}>
<Text style={styles.title}>{content.title}</Text> <Text style={styles.title}>{content.title}</Text>