Commit e8171d31 authored by Trisno's avatar Trisno

fix height image reward detail

parent 4ca6b8af
......@@ -99,7 +99,7 @@ class RewardDetail extends React.Component {
<MyStatusBar />
<ScrollView>
<View style={styles.images}>
<Image style={{ height: 250, width: '100%' }} source={this.state.image ? { uri: this.state.image } : null} />
<Image style={{ height: 360, width: '100%' }} source={this.state.image ? { uri: this.state.image } : null} resizeMode='contain' />
<View style={styles.voucher_code}>
<Text style={styles.text_voucher}>{i18n.t('codeVoucher')}</Text>
<Text style={{ fontFamily: 'Gotham-Black', color: 'white', fontSize: 20, textAlign: 'center', marginBottom: 5, top: 15 }}>{this.state.code}</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