1
0
Fork 0
mirror of https://github.com/cheeaun/phanpy.git synced 2025-03-23 17:59:14 +03:00

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