about summary refs log tree commit diff
path: root/src/view/com/post-thread/PostThreadLoadMore.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-01-09 00:19:59 +0000
committerGitHub <noreply@github.com>2025-01-09 00:19:59 +0000
commitd10cbb8f42d022c05f8c4d89f3d3b1a8456c615f (patch)
tree89f99cb772c6e236677ea9adab284fa9f5b67c07 /src/view/com/post-thread/PostThreadLoadMore.tsx
parenta0393fcd485eec4c6d4d6729b95b2528686b5b1a (diff)
downloadvoidsky-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.tsx12
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]}>