Only show quote disable copy if disabled
This commit is contained in:
@@ -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>
|
||||||
|
)}
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user