fix gap on profile (#9081)

This commit is contained in:
Samuel Newman
2025-09-30 07:28:50 +03:00
committed by GitHub
parent 9e0f192546
commit c7ce827bfe
4 changed files with 31 additions and 14 deletions
+23 -11
View File
@@ -209,17 +209,29 @@ let ProfileHeaderShell = ({
{children}
{!isPlaceholderProfile && (
<View
style={[a.px_lg, a.pt_xs, a.pb_sm]}
pointerEvents={isIOS ? 'auto' : 'box-none'}>
{isMe ? (
<LabelsOnMe type="account" labels={profile.labels} />
) : (
<ProfileHeaderAlerts moderation={moderation} />
)}
</View>
)}
{!isPlaceholderProfile &&
(isMe ? (
<LabelsOnMe
type="account"
labels={profile.labels}
style={[
a.px_lg,
a.pt_xs,
a.pb_sm,
isIOS ? a.pointer_events_auto : {pointerEvents: 'box-none'},
]}
/>
) : (
<ProfileHeaderAlerts
moderation={moderation}
style={[
a.px_lg,
a.pt_xs,
a.pb_sm,
isIOS ? a.pointer_events_auto : {pointerEvents: 'box-none'},
]}
/>
))}
<GrowableAvatar style={[a.absolute, {top: 104, left: 10}]}>
<TouchableWithoutFeedback