Commit 8f843cc6 by Giang Tran

chage avatart

parent 9a6020d8
...@@ -903,7 +903,7 @@ ...@@ -903,7 +903,7 @@
CODE_SIGN_ENTITLEMENTS = Invest/Invest.entitlements; CODE_SIGN_ENTITLEMENTS = Invest/Invest.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 8; CURRENT_PROJECT_VERSION = 9;
DEVELOPMENT_TEAM = MXZ24GRH48; DEVELOPMENT_TEAM = MXZ24GRH48;
ENABLE_BITCODE = NO; ENABLE_BITCODE = NO;
GCC_PREPROCESSOR_DEFINITIONS = ( GCC_PREPROCESSOR_DEFINITIONS = (
...@@ -937,7 +937,7 @@ ...@@ -937,7 +937,7 @@
CODE_SIGN_ENTITLEMENTS = Invest/Invest.entitlements; CODE_SIGN_ENTITLEMENTS = Invest/Invest.entitlements;
CODE_SIGN_IDENTITY = "Apple Development"; CODE_SIGN_IDENTITY = "Apple Development";
CODE_SIGN_STYLE = Automatic; CODE_SIGN_STYLE = Automatic;
CURRENT_PROJECT_VERSION = 8; CURRENT_PROJECT_VERSION = 9;
DEVELOPMENT_TEAM = MXZ24GRH48; DEVELOPMENT_TEAM = MXZ24GRH48;
INFOPLIST_FILE = Invest/Info.plist; INFOPLIST_FILE = Invest/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
......
...@@ -17,6 +17,7 @@ const images = { ...@@ -17,6 +17,7 @@ const images = {
bgHome: require('./images/bgHome01.png'), bgHome: require('./images/bgHome01.png'),
iconUser: require('./images/iconUser1.png'), iconUser: require('./images/iconUser1.png'),
iconUserHome: require('./images/iconUser.png'),
iconUserAccuracy: require('./images/iconUserAccuracy.png'), iconUserAccuracy: require('./images/iconUserAccuracy.png'),
iconList: require('./images/iconList7.png'), iconList: require('./images/iconList7.png'),
iconRose: require('./images/iconRose2.png'), iconRose: require('./images/iconRose2.png'),
......
...@@ -172,7 +172,7 @@ const Drawer = (props) => { ...@@ -172,7 +172,7 @@ const Drawer = (props) => {
<View style={styles.container}> <View style={styles.container}>
<View style={styles.header}> <View style={styles.header}>
<Image <Image
source={imgAvatart ? {uri: imgAvatart} : R.images.avartar} source={imgAvatart ? {uri: imgAvatart} : R.images.iconUser}
style={styles.imgAvatar} style={styles.imgAvatar}
/> />
<TouchableOpacity <TouchableOpacity
......
...@@ -115,7 +115,10 @@ const PickerImg = (props) => { ...@@ -115,7 +115,10 @@ const PickerImg = (props) => {
<TouchableOpacity onPress={() => setModalVisible(true)}> <TouchableOpacity onPress={() => setModalVisible(true)}>
<View style={styles.containerImg}> <View style={styles.containerImg}>
{/*{imgAvatart ? (*/} {/*{imgAvatart ? (*/}
<Image source={imgAvatart ? {uri: imgAvatart} : R.images.avartar} style={styles.imgAvatar}/> <Image
source={imgAvatart ? {uri: imgAvatart} : R.images.iconUser}
style={styles.imgAvatar}
/>
{/*) : (*/} {/*) : (*/}
{/* <View style={styles.imgAvatar}/>*/} {/* <View style={styles.imgAvatar}/>*/}
{/*)}*/} {/*)}*/}
...@@ -148,19 +151,19 @@ const PickerImg = (props) => { ...@@ -148,19 +151,19 @@ const PickerImg = (props) => {
}} }}
/> />
<View style={styles.line}/> <View style={styles.line} />
<Block row space={'around'} center> <Block row space={'around'} center>
<TouchableOpacity style={styles.selectionImg} onPress={onCapture}> <TouchableOpacity style={styles.selectionImg} onPress={onCapture}>
<Image style={styles.imgIcon} source={R.images.iconCamera}/> <Image style={styles.imgIcon} source={R.images.iconCamera} />
<AppText i18nKey={'Take_photo'} style={styles.txtTitleBtn}/> <AppText i18nKey={'Take_photo'} style={styles.txtTitleBtn} />
</TouchableOpacity> </TouchableOpacity>
<TouchableOpacity <TouchableOpacity
style={styles.selectionImg} style={styles.selectionImg}
onPress={onchoosGalery}> onPress={onchoosGalery}>
<Image style={styles.imgIcon} source={R.images.iconImg}/> <Image style={styles.imgIcon} source={R.images.iconImg} />
<AppText i18nKey={'Photo_library'} style={styles.txtTitleBtn}/> <AppText i18nKey={'Photo_library'} style={styles.txtTitleBtn} />
</TouchableOpacity> </TouchableOpacity>
</Block> </Block>
</View> </View>
......
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