Only show quote disable copy if disabled

This commit is contained in:
Eric Bailey
2024-08-12 10:52:41 -05:00
parent 0de71764cf
commit 6a77323cbe
+10 -12
View File
@@ -320,19 +320,17 @@ function Rules({
</Trans>
)}{' '}
</Text>
<Text
style={[
a.text_sm,
a.leading_snug,
a.flex_wrap,
t.atoms.text_contrast_medium,
]}>
{noOneCanQuote ? (
{noOneCanQuote && (
<Text
style={[
a.text_sm,
a.leading_snug,
a.flex_wrap,
t.atoms.text_contrast_medium,
]}>
<Trans>No one but the author can quote this post.</Trans>
) : (
<Trans>Anyone can quote this post.</Trans>
)}
</Text>
</Text>
)}
</>
)
}