about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-07-14 20:01:48 +0300
committerGitHub <noreply@github.com>2025-07-14 10:01:48 -0700
commit587c14bac8d0c1acc5843072a010c3c986f925f4 (patch)
treef0109ef5db68fd1cdca9ee80dd48270469491fc2 /src
parentbe75e00d21fa988a1c73b1a994a5ee4426bf55c9 (diff)
downloadvoidsky-587c14bac8d0c1acc5843072a010c3c986f925f4.tar.zst
fix who can reply icon (#8625)
Diffstat (limited to 'src')
-rw-r--r--src/components/WhoCanReply.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/WhoCanReply.tsx b/src/components/WhoCanReply.tsx
index 86c0c936e..ee939939d 100644
--- a/src/components/WhoCanReply.tsx
+++ b/src/components/WhoCanReply.tsx
@@ -160,7 +160,9 @@ function Icon({
   width?: number
   settings: ThreadgateAllowUISetting[]
 }) {
-  const isEverybody = settings.length === 0
+  const isEverybody =
+    settings.length === 0 ||
+    settings.every(setting => setting.type === 'everybody')
   const isNobody = !!settings.find(gate => gate.type === 'nobody')
   const IconComponent = isEverybody ? Earth : isNobody ? CircleBanSign : Group
   return <IconComponent fill={color} width={width} />