mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-24 18:25:41 +03:00
Don't show inline translation if has card
This commit is contained in:
parent
075c729807
commit
ac9962b051
1 changed files with 2 additions and 0 deletions
|
@ -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