Don't show inline translation if has card

pull/192/head
Lim Chee Aun 2023-07-22 10:10:41 +08:00
rodzic 075c729807
commit ac9962b051
1 zmienionych plików z 2 dodań i 0 usunięć

Wyświetl plik

@ -260,6 +260,7 @@ function Status({
!previewMode &&
!spoilerText &&
!poll &&
!card &&
!mediaAttachments?.length &&
contentLength > 0 &&
contentLength <= INLINE_TRANSLATE_LIMIT
@ -271,6 +272,7 @@ function Status({
previewMode,
spoilerText,
poll,
card,
mediaAttachments,
content,
]);