|
|
|
@ -51,7 +51,7 @@ const Address = ({ |
|
|
|
|
setPhase, |
|
|
|
|
cityLoading, |
|
|
|
|
mobile, |
|
|
|
|
theme |
|
|
|
|
theme, |
|
|
|
|
}) => { |
|
|
|
|
const [addressFields, setAddressFields] = useState({}); |
|
|
|
|
const [mapAddress, setMapAddress] = useState(null); |
|
|
|
@ -227,7 +227,8 @@ const Address = ({ |
|
|
|
|
style={{ |
|
|
|
|
fontFamily: "bold", |
|
|
|
|
fontSize: mobile ? fontSize.lg : fontSize.xl2, |
|
|
|
|
color: theme === 'light' ? Colors.theme1.gray20 : Colors.theme1.white, |
|
|
|
|
color: |
|
|
|
|
theme === "light" ? Colors.theme1.gray20 : Colors.theme1.white, |
|
|
|
|
textAlign: ios ? "right" : "auto", |
|
|
|
|
}} |
|
|
|
|
> |
|
|
|
@ -237,7 +238,10 @@ const Address = ({ |
|
|
|
|
style={{ |
|
|
|
|
fontFamily: "regular", |
|
|
|
|
fontSize: mobile ? fontSize.sm : fontSize.base, |
|
|
|
|
color: theme === 'light' ? Colors.theme1.gray20 + 'aa' : Colors.theme1.white + "aa", |
|
|
|
|
color: |
|
|
|
|
theme === "light" |
|
|
|
|
? Colors.theme1.gray20 + "aa" |
|
|
|
|
: Colors.theme1.white + "aa", |
|
|
|
|
textAlign: ios ? "right" : "auto", |
|
|
|
|
}} |
|
|
|
|
> |
|
|
|
@ -255,26 +259,26 @@ const Address = ({ |
|
|
|
|
flex: 1, |
|
|
|
|
}} |
|
|
|
|
> |
|
|
|
|
<Navbar |
|
|
|
|
headerOptions={{ |
|
|
|
|
logo: false, |
|
|
|
|
menu: profilePage ? false : false, |
|
|
|
|
hamburgerMenu: false, |
|
|
|
|
title: profilePage ? "اطلاعات کاربری" : "", |
|
|
|
|
bookmark: profilePage ? false : false, |
|
|
|
|
qr: false, |
|
|
|
|
back: true, |
|
|
|
|
}} |
|
|
|
|
/> |
|
|
|
|
<ScrollView style={tw("flex-1 px-4")}> |
|
|
|
|
<KeyboardAvoidingView behavior={"padding"}> |
|
|
|
|
<TouchableWithoutFeedback> |
|
|
|
|
<View style={tw("flex-1")}> |
|
|
|
|
<Navbar |
|
|
|
|
headerOptions={{ |
|
|
|
|
logo: false, |
|
|
|
|
menu: profilePage ? false : false, |
|
|
|
|
hamburgerMenu: false, |
|
|
|
|
title: profilePage ? "اطلاعات کاربری" : "", |
|
|
|
|
bookmark: profilePage ? false : false, |
|
|
|
|
qr: false, |
|
|
|
|
back: true, |
|
|
|
|
}} |
|
|
|
|
/> |
|
|
|
|
<Header |
|
|
|
|
title="اطلاعات هویتی" |
|
|
|
|
text="( لطفا نام و نام خانوادگی خود را به طور کامل وارد نمایید )" |
|
|
|
|
/> |
|
|
|
|
{!profilePage ? <MapSelector /> : null} |
|
|
|
|
<MapSelector />
|
|
|
|
|
<CustomTextInput |
|
|
|
|
label="نام" |
|
|
|
|
placeholder="" |
|
|
|
@ -477,7 +481,7 @@ const mapStateToProps = (state) => ({ |
|
|
|
|
user: state.user.status, |
|
|
|
|
profileFields: state.user.profileFields, |
|
|
|
|
mobile: state.publicApi.mobile, |
|
|
|
|
theme : state.publicApi.theme |
|
|
|
|
theme: state.publicApi.theme, |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
const mapDispatchToProps = { |
|
|
|
|