Commit 7bd93e45 authored by Trisno's avatar Trisno

fix expire date reward

parent 35e1a4f6
......@@ -133,13 +133,11 @@ class RewardDetail extends React.Component {
</View>
</View>
<View style={styles.content}>
{this.state.cur_time >= this.state.exp_time ? (
{this.state.cur_time > this.state.exp_time ? (
<View style={{ flex: 1, height: 50, marginRight: 70, marginLeft: 70, justifyContent: 'center' }}>
<TouchableOpacity>
<View style={{ height: 40, borderRadius: 10, backgroundColor: 'red' }}>
<Text style={{ fontFamily: 'Gotham-Black', color: 'white', fontSize: 16, textAlign: 'center', margin: 11 }}>{i18n.t('expiredLabel')}</Text>
</View>
</TouchableOpacity>
</View>
)
: this.state.used == 0 ? (
......
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