about summary refs log tree commit diff
path: root/src/components/AccountList.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/components/AccountList.tsx
parenta0393fcd485eec4c6d4d6729b95b2528686b5b1a (diff)
downloadvoidsky-d10cbb8f42d022c05f8c4d89f3d3b1a8456c615f.tar.zst
Fix avatar shape in Account switch menu (#7388)
Diffstat (limited to 'src/components/AccountList.tsx')
-rw-r--r--src/components/AccountList.tsx6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/components/AccountList.tsx b/src/components/AccountList.tsx
index fe0daed50..0555dd411 100644
--- a/src/components/AccountList.tsx
+++ b/src/components/AccountList.tsx
@@ -131,7 +131,11 @@ function AccountItem({
             (hovered || pressed || isPendingAccount) && t.atoms.bg_contrast_25,
           ]}>
           <View style={a.p_md}>
-            <UserAvatar avatar={profile?.avatar} size={24} />
+            <UserAvatar
+              avatar={profile?.avatar}
+              size={24}
+              type={profile?.associated?.labeler ? 'labeler' : 'user'}
+            />
           </View>
           <Text style={[a.align_baseline, a.flex_1, a.flex_row, a.py_sm]}>
             <Text emoji style={[a.font_bold]}>