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
+2 -4
View File
@@ -320,6 +320,7 @@ function Rules({
</Trans> </Trans>
)}{' '} )}{' '}
</Text> </Text>
{noOneCanQuote && (
<Text <Text
style={[ style={[
a.text_sm, a.text_sm,
@@ -327,12 +328,9 @@ function Rules({
a.flex_wrap, a.flex_wrap,
t.atoms.text_contrast_medium, t.atoms.text_contrast_medium,
]}> ]}>
{noOneCanQuote ? (
<Trans>No one but the author can quote this post.</Trans> <Trans>No one but the author can quote this post.</Trans>
) : (
<Trans>Anyone can quote this post.</Trans>
)}
</Text> </Text>
)}
</> </>
) )
} }