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

change cancel button

parent d86c543d
......@@ -244,7 +244,7 @@ class OrderDetail extends React.Component {
</View>
</View>
{
this.state.trans_status == 0 && this.state.trans_status_display == 'On Queue' ? (<TouchableOpacity onPress={() => this.handleCancel()}>
this.state.trans_status == 0 ? (<TouchableOpacity onPress={() => this.handleCancel()}>
<View style={styles.button}>
<Text style={{ color: 'white', fontSize: 22, fontFamily: 'Gotham-Black' }}>Cancel</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