about summary refs log tree commit diff
path: root/src/screens/Profile/Header/Shell.tsx
diff options
context:
space:
mode:
authorHailey <me@haileyok.com>2024-05-16 13:22:04 -0700
committerGitHub <noreply@github.com>2024-05-16 13:22:04 -0700
commit5e5716c0a85e31e75982ad71615c237d86875820 (patch)
tree298e80dddff4c2640633ccc26b9747aba3de50cd /src/screens/Profile/Header/Shell.tsx
parent3a8baba129e609538e16e849d7cd7e3c2149ebca (diff)
downloadvoidsky-5e5716c0a85e31e75982ad71615c237d86875820.tar.zst
don't show individual labels on own profile, only "have been placed..." (#4057)
Diffstat (limited to 'src/screens/Profile/Header/Shell.tsx')
-rw-r--r--src/screens/Profile/Header/Shell.tsx5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/screens/Profile/Header/Shell.tsx b/src/screens/Profile/Header/Shell.tsx
index a118ef1d1..477248d0b 100644
--- a/src/screens/Profile/Header/Shell.tsx
+++ b/src/screens/Profile/Header/Shell.tsx
@@ -84,9 +84,10 @@ let ProfileHeaderShell = ({
       <View
         style={[a.px_lg, a.pb_sm]}
         pointerEvents={isIOS ? 'auto' : 'box-none'}>
-        <ProfileHeaderAlerts moderation={moderation} />
-        {isMe && (
+        {isMe ? (
           <LabelsOnMe details={{did: profile.did}} labels={profile.labels} />
+        ) : (
+          <ProfileHeaderAlerts moderation={moderation} />
         )}
       </View>