Don't show card for sensitive/CW content

This commit is contained in:
Lim Chee Aun 2023-01-05 13:29:44 +08:00
parent 6f61fc4de2
commit a429da37f4

View file

@ -432,6 +432,8 @@ function Status({
</div>
)}
{!!card &&
!sensitive &&
!spoilerText &&
(size === 'l' ||
(size === 'm' && !poll && !mediaAttachments.length)) && (
<Card