Commit c7c8e92a authored by Trisno's avatar Trisno

fix height image inbox detail

parent b8aa1f9b
...@@ -133,7 +133,7 @@ class InboxDetail extends React.Component { ...@@ -133,7 +133,7 @@ class InboxDetail extends React.Component {
</View> </View>
<ScrollView style={styles.body}> <ScrollView style={styles.body}>
<View style={{ flex: 1 }}> <View style={{ flex: 1 }}>
<Image style={{ height: 250, width: '100%' }} source={this.state.image ? { uri: this.state.image } : null} /> <Image style={{ height: 360, width: '100%' }} resizeMode={'contain'} source={this.state.image ? { uri: this.state.image } : null} />
</View> </View>
<View style={styles.content}> <View style={styles.content}>
<Text style={styles.title}>{this.state.title}</Text> <Text style={styles.title}>{this.state.title}</Text>
......
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