diff options
author | Eric Bailey <git@esb.lol> | 2024-10-03 10:45:01 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-03 10:45:01 -0500 |
commit | eb3b01d0adc5d5c053e1d350c087941b56106497 (patch) | |
tree | 2b8ef5b8a497c77fea4ef6174d06e53f074e0b57 /src/screens/Profile/Header/ProfileHeaderStandard.tsx | |
parent | 7e79c7f768e40ef192decfeac0dfac63c3d37468 (diff) | |
download | voidsky-eb3b01d0adc5d5c053e1d350c087941b56106497.tar.zst |
Fix profile header buttons (#5558)
* Fix profile header buttons * Adjust labeler buttons too * Fix load state jumps * Small tweak for web * Remove log
Diffstat (limited to 'src/screens/Profile/Header/ProfileHeaderStandard.tsx')
-rw-r--r-- | src/screens/Profile/Header/ProfileHeaderStandard.tsx | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/screens/Profile/Header/ProfileHeaderStandard.tsx b/src/screens/Profile/Header/ProfileHeaderStandard.tsx index 3bfc4bf2f..1bdafa92f 100644 --- a/src/screens/Profile/Header/ProfileHeaderStandard.tsx +++ b/src/screens/Profile/Header/ProfileHeaderStandard.tsx @@ -153,8 +153,9 @@ let ProfileHeaderStandard = ({ style={[ {paddingLeft: 90}, a.flex_row, + a.align_center, a.justify_end, - a.gap_sm, + a.gap_xs, a.pb_sm, a.flex_wrap, ]} @@ -167,7 +168,7 @@ let ProfileHeaderStandard = ({ variant="solid" onPress={onPressEditProfile} label={_(msg`Edit profile`)} - style={[a.rounded_full, a.py_sm]}> + style={[a.rounded_full]}> <ButtonText> <Trans>Edit Profile</Trans> </ButtonText> @@ -182,7 +183,7 @@ let ProfileHeaderStandard = ({ label={_(msg`Unblock`)} disabled={!hasSession} onPress={() => unblockPromptControl.open()} - style={[a.rounded_full, a.py_sm]}> + style={[a.rounded_full]}> <ButtonText> <Trans context="action">Unblock</Trans> </ButtonText> @@ -205,7 +206,7 @@ let ProfileHeaderStandard = ({ onPress={ profile.viewer?.following ? onPressUnfollow : onPressFollow } - style={[a.rounded_full, a.gap_xs, a.py_sm]}> + style={[a.rounded_full]}> <ButtonIcon position="left" icon={profile.viewer?.following ? Check : Plus} |