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

account view profil dan email confirmation

parent 83960033
...@@ -188,6 +188,17 @@ class Account extends React.Component { ...@@ -188,6 +188,17 @@ class Account extends React.Component {
} }
handleSettings() {
if (this.state.clickSettings == 8) {
this.props.navigation.navigate('SettingsScreen')
this.setState({ clickSettings: 0 })
} else {
new_count = this.state.clickSettings
this.setState({ clickSettings: new_count + 1 })
}
}
render() { render() {
const navigation = this.props.navigation const navigation = this.props.navigation
return ( return (
...@@ -278,11 +289,7 @@ class Account extends React.Component { ...@@ -278,11 +289,7 @@ class Account extends React.Component {
</View> </View>
</View> </View>
<View style={styles.line2}></View> <View style={styles.line2}></View>
{/* <Text style={{ textAlign: 'left', fontWeight: 'bold' }}>
{i18n.t('point')} {this.state.point}
</Text> */}
<View style={{ flexDirection: 'row', flex: 1 }}> <View style={{ flexDirection: 'row', flex: 1 }}>
<View style={{ flex: 0.3, justifyContent: 'center' }}> <View style={{ flex: 0.3, justifyContent: 'center' }}>
{/* <Text>{i18n.t('balance')}</Text> */} {/* <Text>{i18n.t('balance')}</Text> */}
......
...@@ -115,6 +115,14 @@ class EmailConfirmation extends React.Component { ...@@ -115,6 +115,14 @@ class EmailConfirmation extends React.Component {
} }
handleCancel() { handleCancel() {
if (this.props.pageEmailConfirmation == true) {
let pageProps = {
pageEmailConfirmation: false
}
this.props.setPage(pageProps)
this.props.navigation.navigate('Login');
} else {
console.log("KE REGISTER ")
let pageProps = { let pageProps = {
pageEmailConfirmation: false pageEmailConfirmation: false
} }
...@@ -122,6 +130,8 @@ class EmailConfirmation extends React.Component { ...@@ -122,6 +130,8 @@ class EmailConfirmation extends React.Component {
this.props.navigation.navigate('New Register'); this.props.navigation.navigate('New Register');
} }
}
handleResend() { handleResend() {
this.setState({ this.setState({
spinner: true, spinner: true,
......
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