Commit 10693ae6 by Giang Tran

update code

parent 21073c40
......@@ -83,7 +83,7 @@ const GeneralInfor = (props) => {
<AppText i18nKey={'Fullname'} style={styles.txtTitle}></AppText>
</View>
<View style={styles.wrapRight}>
<Text style={styles.txtTitle}>{props.user.fullname}</Text>
<Text style={styles.txtRight}>{props.user.fullname}</Text>
</View>
</View>
<View style={styles.wrapItem}>
......@@ -91,7 +91,7 @@ const GeneralInfor = (props) => {
<Text style={styles.txtTitle}>Email</Text>
</View>
<View style={styles.wrapRight}>
<Text style={styles.txtTitle}>{props.user.email}</Text>
<Text style={styles.txtRight}>{props.user.email}</Text>
</View>
</View>
<View style={styles.wrapItem}>
......@@ -99,7 +99,7 @@ const GeneralInfor = (props) => {
<AppText i18nKey={'Birth'} style={styles.txtTitle}></AppText>
</View>
<View style={styles.wrapRight}>
<Text style={styles.txtTitle}>{props.user.birthday}</Text>
<Text style={styles.txtRight}>{props.user.birthday}</Text>
</View>
</View>
<View style={styles.wrapItem}>
......@@ -107,7 +107,7 @@ const GeneralInfor = (props) => {
<AppText i18nKey={'Male'} style={styles.txtTitle}></AppText>
</View>
<View style={styles.wrapRight}>
<Text style={styles.txtTitle}>{renderMale()}</Text>
<Text style={styles.txtRight}>{renderMale()}</Text>
</View>
</View>
<View style={styles.wrapItem}>
......@@ -115,7 +115,7 @@ const GeneralInfor = (props) => {
<AppText i18nKey={'Status'} style={styles.txtTitle}></AppText>
</View>
<View style={styles.wrapRight}>
<Text style={styles.txtTitle}>{props.user.status_name}</Text>
<Text style={styles.txtRight}>{props.user.status_name}</Text>
</View>
</View>
......@@ -219,6 +219,13 @@ const styles = StyleSheet.create({
paddingTop: 5,
},
txtRight: {
fontSize: getFontXD(42),
color: R.colors.black,
marginBottom: 5,
paddingTop: 5,
},
row: {
height: HEIGHTXD(109),
width: '100%',
......
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