Commit 1058349f authored by William Goszal's avatar William Goszal 🚴

- di account tombol use balance dibikin full col

- ganti language untuk usebalancepoint
parent 5944ee5c
......@@ -93,7 +93,7 @@
"Transferbalance": "TRANSFER BALANCE",
"Transactionhistory": "TRANSACTION HISTORY",
"Renewal": "RENEWAL",
"Usebalancepoint": "USE BALANCE / POINTS",
"Usebalancepoint": "USE BALANCE",
"Acitvatecard": "ACTIVATE CARD",
"mobilePhone": "Mobile Phone",
"resend": "Resend",
......
......@@ -93,7 +93,7 @@
"Transferbalance": "TRANSFER SALDO",
"Transactionhistory": "RIWAYAT TRANSAKSI",
"Renewal": "RENEWAL",
"Usebalancepoint": "GUNAKAN SALDO / POIN",
"Usebalancepoint": "GUNAKAN SALDO",
"Acitvatecard": "AKTIVASI KARTU",
"mobilePhone": "Nomor HP",
"resend": "Kirim Ulang",
......
......@@ -451,6 +451,7 @@ class Account extends React.Component {
<View style={styles.action_grid_container} >
{/* Action Transfer Balance */}
{/*
<View style={styles.action_grid_col} display="none">
<TouchableOpacity onPress={() => this.TransferBalance()} >
<Card style={styles.action_grid_card}>
......@@ -459,9 +460,10 @@ class Account extends React.Component {
</Card>
</TouchableOpacity>
</View>
*/}
{/* Action Use Balance */}
<View style={styles.action_grid_col}>
<View style={styles.action_grid_col_full}>
<TouchableOpacity onPress={() => this.handleuseBalance()}>
<Card style={styles.action_grid_card}>
<Image style={styles.action_grid_icon} source={require('../assets/icon/2.png')} />
......@@ -490,19 +492,22 @@ class Account extends React.Component {
</TouchableOpacity>
</View>
{/* Action Upgrade Premium */}
<View style={styles.action_grid_col} display="none">
<TouchableOpacity onPress={() => this.props.navigation.navigate('Upgrade Premium')} >
<Card style={styles.action_grid_card}>
{/* <MaterialIcons name="autorenew" color="gray" size={50} style={styles.action_grid_icon} /> */}
<Image style={styles.action_grid_icon} source={require('../assets/icon/3.png')} />
<Text style={styles.action_grid_text}>{i18n.t('upgradePremium')}</Text>
</Card>
</TouchableOpacity>
</View>
{/* Action Upgrade Premium */}
{/*
{this.state.premium === false ? (
<View style={styles.action_grid_col}>
<TouchableOpacity onPress={() => this.props.navigation.navigate('Upgrade Premium')} >
<Card style={styles.action_grid_card}>
<Image style={styles.action_grid_icon} source={require('../assets/icon/3.png')} />
<Text style={styles.action_grid_text}>{i18n.t('upgradePremium')}</Text>
</Card>
</TouchableOpacity>
</View>
) : (null)}
*/}
</View>
{/* Actions Grid - end */}
{/* Actions Grid - end */}
{/* Button Logout */}
<View style={{ flex: 1 }}>
......@@ -557,7 +562,8 @@ const styles = StyleSheet.create({
action_grid_card:{
height: 120,
width: "100%",
width: "100%",
backgroundColor: "#FCFCFC",
alignItems: 'center',
flex: 1,
flexDirection: 'column',
......
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