Commit e943baed authored by Trisno's avatar Trisno

update reward list

parent f2d56bfe
...@@ -62,13 +62,13 @@ class RewardsList extends React.Component { ...@@ -62,13 +62,13 @@ class RewardsList extends React.Component {
<View> <View>
<Image source={{ uri: item.reward.title_image }} <Image source={{ uri: item.reward.title_image }}
resizeMethod="resize" resizeMethod="resize"
resizeMode='stretch' resizeMode='cover'
style={{ height: 150, width: 430 }} /> style={{ height: 150, width: '100%' }} />
</View> </View>
<View style={{ flexDirection: 'row', justifyContent:'space-between', padding:10 }}> <View style={{ flexDirection: 'row', justifyContent:'space-between', padding:10 }}>
<View> <View>
<Text style={{fontWeight:'bold'}}>{item.reward.title}</Text> <Text style={{fontWeight:'bold', textAlign:'left'}}>{item.reward.title}</Text>
<Text>{item.reward.subtitle}</Text> <Text style={{textAlign:'left'}}>{item.reward.subtitle}</Text>
</View> </View>
<View> <View>
<Text style={{textAlign:'right'}}>Expired</Text> <Text style={{textAlign:'right'}}>Expired</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