about summary refs log tree commit diff
path: root/src/screens/Settings/Settings.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/screens/Settings/Settings.tsx
parenta0393fcd485eec4c6d4d6729b95b2528686b5b1a (diff)
downloadvoidsky-d10cbb8f42d022c05f8c4d89f3d3b1a8456c615f.tar.zst
Fix avatar shape in Account switch menu (#7388)
Diffstat (limited to 'src/screens/Settings/Settings.tsx')
-rw-r--r--src/screens/Settings/Settings.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/screens/Settings/Settings.tsx b/src/screens/Settings/Settings.tsx
index 7a4ad6f20..b8c57c3b8 100644
--- a/src/screens/Settings/Settings.tsx
+++ b/src/screens/Settings/Settings.tsx
@@ -284,6 +284,7 @@ function ProfilePreview({
         size={80}
         avatar={shadow.avatar}
         moderation={moderation.ui('avatar')}
+        type={shadow.associated?.labeler ? 'labeler' : 'user'}
       />
       <ProfileHeaderDisplayName profile={shadow} moderation={moderation} />
       <ProfileHeaderHandle profile={shadow} />
@@ -414,6 +415,7 @@ function AccountRow({
             size={28}
             avatar={profile.avatar}
             moderation={moderateProfile(profile, moderationOpts).ui('avatar')}
+            type={profile.associated?.labeler ? 'labeler' : 'user'}
           />
         ) : (
           <View style={[{width: 28}]} />