Fix avatar shape in Account switch menu (#7388)

This commit is contained in:
Samuel Newman
2025-01-09 00:19:59 +00:00
committed by GitHub
parent a0393fcd48
commit d10cbb8f42
8 changed files with 28 additions and 5 deletions
+2
View File
@@ -284,6 +284,7 @@ function ProfilePreview({
size={80}
avatar={shadow.avatar}
moderation={moderation.ui('avatar')}
type={shadow.associated?.labeler ? 'labeler' : 'user'}
/>
<ProfileHeaderDisplayName profile={shadow} moderation={moderation} />
<ProfileHeaderHandle profile={shadow} />
@@ -414,6 +415,7 @@ function AccountRow({
size={28}
avatar={profile.avatar}
moderation={moderateProfile(profile, moderationOpts).ui('avatar')}
type={profile.associated?.labeler ? 'labeler' : 'user'}
/>
) : (
<View style={[{width: 28}]} />