Commit b7bc4f59 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo

alert sudah muncul di card activation

parent 58269e56
......@@ -81,9 +81,7 @@ class CardActivation extends React.Component {
spinner: false,
})
let response = error.response.data;
const { navigation } = this.props
session(response, navigation)
Alert.alert(response.msg);
Alert.alert('',response.msg);
})
}
......@@ -112,9 +110,7 @@ class CardActivation extends React.Component {
spinner: false,
})
let response = error.response.data;
const { navigation } = this.props
session(response, navigation)
Alert.alert(response.msg);
Alert.alert('',response.msg);
})
}
......@@ -133,8 +129,9 @@ class CardActivation extends React.Component {
<View style={{ flex: 1, margin: 10 }}>
<Text style={{ fontFamily: 'Gotham-Black', color: '#CFB368', fontSize: 19, textAlign: 'center', marginBottom: 5 }}>Mobile phone</Text>
<TextInput
style={{ height: 40, borderColor: 'gray', borderWidth: 1, padding: 5, borderRadius: 10,textAlign:'center',fontFamily:'Gotham-Black' }}
style={{ height: 40, borderColor: 'gray', borderWidth: 1, padding: 5, borderRadius: 10,textAlign:'center',fontFamily:'Gotham-Black',color:'grey', fontSize:16}}
onChangeText={mobile_phone => this.setState({ mobile_phone })}
keyboardType='numeric'
value={this.state.mobile_phone}
/>
......@@ -165,9 +162,10 @@ class CardActivation extends React.Component {
<View style={{ flex: 1, margin: 10 }}>
<Text style={{ fontFamily: 'Gotham-Black', color: '#CFB368', fontSize: 19, textAlign: 'center', marginBottom: 5 }}>Card Number</Text>
<TextInput
style={{ height: 40, borderColor: 'gray', borderWidth: 1, padding: 5, borderRadius: 10 }}
style={{ height: 40, borderColor: 'gray', borderWidth: 1, padding: 5, borderRadius: 10,textAlign:'center',fontFamily:'Gotham-Black',color:'grey', fontSize:16}}
onChangeText={card_number => this.setState({ card_number })}
value={this.state.card_number}
keyboardType='numeric'
/>
</View>
</View>
......@@ -175,9 +173,10 @@ class CardActivation extends React.Component {
<View style={{ flex: 1, margin: 10 }}>
<Text style={{ fontFamily: 'Gotham-Black', color: '#CFB368', fontSize: 19, textAlign: 'center', marginBottom: 5 }}>Token</Text>
<TextInput
style={{ height: 40, borderColor: 'gray', borderWidth: 1, padding: 5, borderRadius: 10 }}
style={{ height: 40, borderColor: 'gray', borderWidth: 1, padding: 5, borderRadius: 10,textAlign:'center',fontFamily:'Gotham-Black',color:'grey', fontSize:16}}
onChangeText={token => this.setState({ token })}
value={this.state.token}
keyboardType='numeric'
/>
</View>
</View>
......
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