From 587c14bac8d0c1acc5843072a010c3c986f925f4 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 14 Jul 2025 20:01:48 +0300 Subject: [PATCH] fix who can reply icon (#8625) --- src/components/WhoCanReply.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/WhoCanReply.tsx b/src/components/WhoCanReply.tsx index 86c0c936ec..ee939939d0 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