Don't show card for sensitive/CW content

pull/42/head
Lim Chee Aun 2023-01-05 13:29:44 +08:00
rodzic 6f61fc4de2
commit a429da37f4
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

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