Revert copy for WhoCanReply
This commit is contained in:
@@ -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()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user