Don't show profile labels until loaded (#4357)

zio/stable
dan 2024-06-04 19:54:30 +01:00 committed by GitHub
parent 551af88f22
commit b5ac450442
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 9 deletions

View File

@ -81,6 +81,7 @@ let ProfileHeaderShell = ({
{children} {children}
{!isPlaceholderProfile && (
<View <View
style={[a.px_lg, a.pb_sm]} style={[a.px_lg, a.pb_sm]}
pointerEvents={isIOS ? 'auto' : 'box-none'}> pointerEvents={isIOS ? 'auto' : 'box-none'}>
@ -90,6 +91,7 @@ let ProfileHeaderShell = ({
<ProfileHeaderAlerts moderation={moderation} /> <ProfileHeaderAlerts moderation={moderation} />
)} )}
</View> </View>
)}
{!isDesktop && !hideBackButton && ( {!isDesktop && !hideBackButton && (
<TouchableWithoutFeedback <TouchableWithoutFeedback