Don't show inline translation if has card
This commit is contained in:
parent
075c729807
commit
ac9962b051
|
@ -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,
|
||||
]);
|
||||
|
|
Loading…
Reference in a new issue