Don't show profile labels until loaded (#4357)
parent
551af88f22
commit
b5ac450442
|
@ -81,15 +81,17 @@ let ProfileHeaderShell = ({
|
||||||
|
|
||||||
{children}
|
{children}
|
||||||
|
|
||||||
<View
|
{!isPlaceholderProfile && (
|
||||||
style={[a.px_lg, a.pb_sm]}
|
<View
|
||||||
pointerEvents={isIOS ? 'auto' : 'box-none'}>
|
style={[a.px_lg, a.pb_sm]}
|
||||||
{isMe ? (
|
pointerEvents={isIOS ? 'auto' : 'box-none'}>
|
||||||
<LabelsOnMe details={{did: profile.did}} labels={profile.labels} />
|
{isMe ? (
|
||||||
) : (
|
<LabelsOnMe details={{did: profile.did}} labels={profile.labels} />
|
||||||
<ProfileHeaderAlerts moderation={moderation} />
|
) : (
|
||||||
)}
|
<ProfileHeaderAlerts moderation={moderation} />
|
||||||
</View>
|
)}
|
||||||
|
</View>
|
||||||
|
)}
|
||||||
|
|
||||||
{!isDesktop && !hideBackButton && (
|
{!isDesktop && !hideBackButton && (
|
||||||
<TouchableWithoutFeedback
|
<TouchableWithoutFeedback
|
||||||
|
|
Loading…
Reference in New Issue