diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-01-09 00:19:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-09 00:19:59 +0000 |
commit | d10cbb8f42d022c05f8c4d89f3d3b1a8456c615f (patch) | |
tree | 89f99cb772c6e236677ea9adab284fa9f5b67c07 /src/view/com/post-thread/PostThreadLoadMore.tsx | |
parent | a0393fcd485eec4c6d4d6729b95b2528686b5b1a (diff) | |
download | voidsky-d10cbb8f42d022c05f8c4d89f3d3b1a8456c615f.tar.zst |
Fix avatar shape in Account switch menu (#7388)
Diffstat (limited to 'src/view/com/post-thread/PostThreadLoadMore.tsx')
-rw-r--r-- | src/view/com/post-thread/PostThreadLoadMore.tsx | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/view/com/post-thread/PostThreadLoadMore.tsx b/src/view/com/post-thread/PostThreadLoadMore.tsx index 780ea7728..27e2ea724 100644 --- a/src/view/com/post-thread/PostThreadLoadMore.tsx +++ b/src/view/com/post-thread/PostThreadLoadMore.tsx @@ -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]}> |