Commit 424f3b37 authored by Trisno's avatar Trisno

benerin change password dan update design reward history

parent 699c0721
This diff is collapsed.
...@@ -52,8 +52,6 @@ class ChangePassword extends React.Component { ...@@ -52,8 +52,6 @@ class ChangePassword extends React.Component {
onChangeText={(old_password) => this.setState({ old_password })} onChangeText={(old_password) => this.setState({ old_password })}
value={this.state.old_password} value={this.state.old_password}
secureTextEntry={true} secureTextEntry={true}
placeholder='******'
placeholderTextColor='gray'
textAlign='center' /> textAlign='center' />
</View> </View>
</View> </View>
...@@ -66,8 +64,6 @@ class ChangePassword extends React.Component { ...@@ -66,8 +64,6 @@ class ChangePassword extends React.Component {
onChangeText={(Password) => this.setState({ Password })} onChangeText={(Password) => this.setState({ Password })}
value={this.state.Password} value={this.state.Password}
secureTextEntry={true} secureTextEntry={true}
placeholder='******'
placeholderTextColor='gray'
textAlign='center' /> textAlign='center' />
</View> </View>
</View> </View>
...@@ -80,8 +76,6 @@ class ChangePassword extends React.Component { ...@@ -80,8 +76,6 @@ class ChangePassword extends React.Component {
onChangeText={(Password_confirmation) => this.setState({ Password_confirmation })} onChangeText={(Password_confirmation) => this.setState({ Password_confirmation })}
value={this.state.Password_confirmation} value={this.state.Password_confirmation}
secureTextEntry={true} secureTextEntry={true}
placeholder='******'
placeholderTextColor='gray'
textAlign='center' /> textAlign='center' />
</View> </View>
</View> </View>
......
...@@ -61,16 +61,16 @@ class RewardHistory extends React.Component { ...@@ -61,16 +61,16 @@ class RewardHistory extends React.Component {
<Image source={{ uri: item.reward.title_image }} <Image source={{ uri: item.reward.title_image }}
resizeMethod="resize" resizeMethod="resize"
resizeMode='cover' resizeMode='cover'
style={{ height: 150, width: '100%' }} /> style={{ height: 100, 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', textAlign:'left'}}>{item.reward.title}</Text> <Text style={{textAlign:'left', fontSize: 12, fontFamily: 'Gotham-Black'}}>{item.reward.title}</Text>
<Text style={{textAlign:'left'}}>{item.reward.subtitle}</Text> <Text style={{textAlign:'left', fontSize: 12, fontFamily: 'Gotham-Light'}}>{item.reward.subtitle}</Text>
</View> </View>
<View> <View>
<Text style={{textAlign:'right'}}>Digunakan:</Text> <Text style={{textAlign:'right',fontSize: 12, fontFamily: 'Gotham-Light'}}>Used at</Text>
<Text style={{textAlign:'right'}}>{item.used_time}</Text> <Text style={{textAlign:'right', fontSize: 12, fontFamily: 'Gotham-Light'}}>{item.used_time}</Text>
</View> </View>
</View> </View>
</Card> </Card>
......
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