diff --git a/src/view/com/util/forms/PostDropdownBtn.tsx b/src/view/com/util/forms/PostDropdownBtn.tsx index c684635a6a..7125a64790 100644 --- a/src/view/com/util/forms/PostDropdownBtn.tsx +++ b/src/view/com/util/forms/PostDropdownBtn.tsx @@ -302,13 +302,15 @@ let PostDropdownBtn = ({ } }, [_, quoteEmbed, post, toggleQuoteDetachment]) + const canHidePostForMe = !isAuthor && !isPostHidden const canEmbed = isWeb && gtMobile && !hideInPWI - const canHideReply = !isAuthor && isRootPostAuthor && !isPostHidden && isReply + const canHideReplyForEveryone = + !isAuthor && isRootPostAuthor && !isPostHidden && isReply const canDetachQuote = quoteEmbed && quoteEmbed.isOwnedByViewer const onToggleReplyVisibility = React.useCallback(async () => { // TODO no threadgate? - if (!canHideReply) return + if (!canHideReplyForEveryone) return const action = isReplyHiddenByThreadgate ? 'show' : 'hide' const isHide = action === 'hide' @@ -333,7 +335,7 @@ let PostDropdownBtn = ({ isReplyHiddenByThreadgate, rootUri, postUri, - canHideReply, + canHideReplyForEveryone, toggleReplyVisibility, ]) @@ -476,75 +478,75 @@ let PostDropdownBtn = ({