Fix avatar shape in Account switch menu (#7388)
This commit is contained in:
@@ -43,6 +43,7 @@ interface BaseUserAvatarProps {
|
||||
}
|
||||
|
||||
interface UserAvatarProps extends BaseUserAvatarProps {
|
||||
type: UserAvatarType
|
||||
moderation?: ModerationUI
|
||||
usePlainRNImage?: boolean
|
||||
onLoad?: () => void
|
||||
@@ -439,7 +440,12 @@ let PreviewableUserAvatar = ({
|
||||
handle: profile.handle,
|
||||
})}
|
||||
onPress={onPress}>
|
||||
<UserAvatar avatar={profile.avatar} moderation={moderation} {...rest} />
|
||||
<UserAvatar
|
||||
avatar={profile.avatar}
|
||||
moderation={moderation}
|
||||
type={profile.associated?.labeler ? 'labeler' : 'user'}
|
||||
{...rest}
|
||||
/>
|
||||
</Link>
|
||||
</ProfileHoverCard>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user