Commit 7b8de235 authored by Fred's avatar Fred

supaya bisa diklik di ios

parent 599c5222
...@@ -187,23 +187,24 @@ class Account extends React.Component { ...@@ -187,23 +187,24 @@ class Account extends React.Component {
return ( return (
<View style={styles.container}> <View style={styles.container}>
<ScrollView> <ScrollView>
<View style={{ flex: 1, height: 90 }}> <TouchableOpacity onPress={() => this.props.navigation.navigate('Profile')}>
<View style={{ alignSelf: 'center' }}> <View style={{ flex: 1, height: 90 }}>
<Image <View style={{ alignSelf: 'center' }}>
style={{ height: 70, width: 70, justifyContent: 'center', top: 20 }} <Image
source={require('../assets/images/people-actv.png')} style={{ height: 70, width: 70, justifyContent: 'center', top: 20 }}
/> source={require('../assets/images/people-actv.png')}
</View> />
<View style={{ height: 90, justifyContent: 'center' }}> </View>
<View style={{ height: 90, justifyContent: 'center' }}>
<Text style={{ fontFamily: 'Gotham-Black', color: '#CFB368', fontSize: 20, textAlign: 'center' }}>
{this.state.full_name} <Text style={{ fontFamily: 'Gotham-Black', color: '#CFB368', fontSize: 20, textAlign: 'center' }}>
</Text> {this.state.full_name}
<TouchableOpacity onPress={() => this.props.navigation.navigate('Profile')}> </Text>
<Text style={{ fontFamily: 'Gotham-Light', color: '#838383', fontSize: 12, textAlign: 'center', top: 2 }}>View Profile</Text> <Text style={{ fontFamily: 'Gotham-Light', color: '#838383', fontSize: 12, textAlign: 'center', top: 2 }}>View Profile</Text>
</TouchableOpacity> </View>
</View> </View>
</View> </TouchableOpacity>
{ {
this.props.set_card === false ? ( this.props.set_card === false ? (
<View style={{ marginTop: 65 }}> <View style={{ marginTop: 65 }}>
......
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