Revert copy for WhoCanReply

This commit is contained in:
Eric Bailey
2024-08-12 10:49:27 -05:00
parent 949e271a72
commit 7c9cda781b
+5 -12
View File
@@ -71,18 +71,11 @@ export function WhoCanReply({
const anyoneCanReply = const anyoneCanReply =
settings.length === 1 && settings[0].type === 'everybody' settings.length === 1 && settings[0].type === 'everybody'
const noOneCanReply = settings.length === 1 && settings[0].type === 'nobody' const noOneCanReply = settings.length === 1 && settings[0].type === 'nobody'
const anyoneCanQuote = const description = anyoneCanReply
!postgate.embeddingRules || postgate.embeddingRules.length === 0 ? _(msg`Everybody can reply`)
const noOneCanQuote = : noOneCanReply
postgate.embeddingRules?.length === 1 && ? _(msg`Replies disabled`)
postgate.embeddingRules[0]?.$type === embeddingRules.disableRule.$type : _(msg`Some people can reply`)
const anyoneCanInteract = anyoneCanReply && anyoneCanQuote
const noOneCanInteract = noOneCanReply && noOneCanQuote
const description = anyoneCanInteract
? _(msg`Anybody can interact`)
: noOneCanInteract
? _(msg`Nobody can interact`)
: _(msg`Interaction limited`)
const onPressOpen = () => { const onPressOpen = () => {
if (isNative && Keyboard.isVisible()) { if (isNative && Keyboard.isVisible()) {