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
@@ -33,7 +33,11 @@ export function PostThreadLoadMore({post}: {post: AppBskyFeedDefs.PostView}) {
backgroundColor: t.atoms.bg.backgroundColor,
marginRight: -20,
}}>
<UserAvatar avatar={post.author.avatar} size={30} />
<UserAvatar
avatar={post.author.avatar}
size={30}
type={post.author.associated?.labeler ? 'labeler' : 'user'}
/>
</View>
<View
style={{
@@ -44,7 +48,11 @@ export function PostThreadLoadMore({post}: {post: AppBskyFeedDefs.PostView}) {
borderRadius: 18,
backgroundColor: t.atoms.bg.backgroundColor,
}}>
<UserAvatar avatar={post.author.avatar} size={30} />
<UserAvatar
avatar={post.author.avatar}
size={30}
type={post.author.associated?.labeler ? 'labeler' : 'user'}
/>
</View>
</View>
<View style={[a.px_sm]}>