Commit c0c5783d authored by William Goszal's avatar William Goszal 🚴

hide tombol upgrade premium

parent b7d4d5b9
......@@ -435,7 +435,8 @@ class Account extends React.Component {
<TouchableOpacity style={styles.submitTopUp} activeOpacity={.5} onPress={() => this.props.navigation.navigate('TopUpInfo')}>
<Text style={{ fontFamily: 'Gotham-Black', color: 'white', fontSize: 16, textAlign: 'center' }}>{i18n.t('topup')}</Text>
</TouchableOpacity>
<View style={{ padding: 10, height: 250, top: 10, margin: 10 }}>
<View style={{ padding: 10, height: 250, top: 10, margin: 0 }}>
<ImageBackground style={{ width: '100%', height: '100%', padding: 0, margin: 0 }} resizeMode='stretch' source={this.state.img_card ? { uri: this.state.img_card } : null}>
<View style={{ justifyContent: 'center' }}>
<Text style={{ fontFamily: 'Gotham-Black', margin: 15, fontSize: 14, color: '#c9af6d', top: 170 }}>
......@@ -444,7 +445,8 @@ class Account extends React.Component {
</View>
</ImageBackground>
</View>
<View style={{ marginLeft: 20, marginRight: 20, padding: 5 }}>
<View style={{ marginLeft: 10, marginRight: 10, padding: 5 }}>
<View style={{ flex: 1, flexDirection: 'row', justifyContent: 'center', margin: 5 }}>
<TouchableOpacity style={{ marginBottom: 5, margin: 3 }} onPress={() => this.TransferBalance()} >
<Card style={{ height: 120, width: 155 }}>
......@@ -497,7 +499,7 @@ class Account extends React.Component {
</Card>
</TouchableOpacity>
</View>
<View style={{ flex: 1, flexDirection: 'row', justifyContent: 'center' }}>
<View style={{ flex: 1, flexDirection: 'row', justifyContent: 'center', display: 'none' }}>
{this.state.premium === false ? (
<TouchableOpacity onPress={() => this.props.navigation.navigate('Upgrade Premium')} style={{ marginBottom: 20, marginRight: 5, marginLeft: 5 }}>
<Card style={{ width: 200, paddingHorizontal: 10, paddingTop: 20, paddingBottom: 20 }}>
......
......@@ -47,6 +47,7 @@ class Home extends React.Component {
}
componentDidMount() {
console.log("BASE_URL Set : "+this.props.BASE_URL)
this.CheckInbox()
const screenWidth = Math.round(Dimensions.get('window').width);
......
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