Skip to content

Commit

Permalink
removed view
Browse files Browse the repository at this point in the history
  • Loading branch information
X1Vi committed Jan 4, 2025
1 parent 5fba7c7 commit 841b695
Showing 1 changed file with 16 additions and 18 deletions.
34 changes: 16 additions & 18 deletions src/screens/Profile/Header/ProfileHeaderStandard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -171,24 +171,22 @@ let ProfileHeaderStandard = ({
pointerEvents={isIOS ? 'auto' : 'box-none'}>
{isMe ? (
<>
<View style={{flexDirection: 'row'}}>
<Button
testID="profileHeaderEditProfileButton"
size="small"
color="secondary"
variant="solid"
onPress={onPressEditProfile}
label={_(msg`Edit profile`)}
style={[a.rounded_full]}>
<ButtonText>
<Trans>Edit Profile</Trans>
</ButtonText>
</Button>
<EditProfileDialog
profile={profile}
control={editProfileControl}
/>
</View>
<Button
testID="profileHeaderEditProfileButton"
size="small"
color="secondary"
variant="solid"
onPress={onPressEditProfile}
label={_(msg`Edit profile`)}
style={[a.rounded_full]}>
<ButtonText>
<Trans>Edit Profile</Trans>
</ButtonText>
</Button>
<EditProfileDialog
profile={profile}
control={editProfileControl}
/>
</>
) : profile.viewer?.blocking ? (
profile.viewer?.blockingByList ? null : (
Expand Down

0 comments on commit 841b695

Please sign in to comment.