Skip to content

Commit

Permalink
Changed order of inputs while editing profile
Browse files Browse the repository at this point in the history
  • Loading branch information
neontvn committed Jan 18, 2022
1 parent 0871684 commit 0bf11ae
Showing 1 changed file with 16 additions and 17 deletions.
33 changes: 16 additions & 17 deletions src/screens/App_EditMyProfileScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -297,18 +297,16 @@ const EditMyProfileScreen: React.FC<Props> = ({navigation, route}) => {
<View style={{marginHorizontal: 10, marginTop: 25}}>
<Text18 text={'Address'} textColor={Colors.TEXTDARK} />
</View>

<EditProfileInput
label={'PIN Code/ ZIP Code'}
keyName={'pincode'}
value={data['pincode']}
isNumeric={true}
label={'Address Line 1'}
keyName={'address'}
value={data['address']}
onChangeText={handleInput}
/>
<EditProfileInput
label={'Country'}
keyName={'country'}
value={data['country']}
/>
<EditProfileInput
label={'City'}
keyName={'city'}
value={data['city']}
onChangeText={handleInput}
/>
<EditProfileInput
Expand All @@ -318,15 +316,16 @@ const EditMyProfileScreen: React.FC<Props> = ({navigation, route}) => {
onChangeText={handleInput}
/>
<EditProfileInput
label={'City'}
keyName={'city'}
value={data['city']}
label={'Country'}
keyName={'country'}
value={data['country']}
onChangeText={handleInput}
/>
/>
<EditProfileInput
label={'Address Line 1'}
keyName={'address'}
value={data['address']}
label={'PIN Code/ ZIP Code'}
keyName={'pincode'}
value={data['pincode']}
isNumeric={true}
onChangeText={handleInput}
/>
</View>
Expand Down

0 comments on commit 0bf11ae

Please sign in to comment.