Merge pull request #430 from esteemapp/bugfix/#397

fixed image cover
This commit is contained in:
Feruz M 2019-01-21 13:39:19 +02:00 committed by GitHub
commit e71c812e32

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>