Fix captioning turned on even when showCaption = false
This commit is contained in:
parent
0b8cbbef51
commit
3dbbba0be2
1 changed files with 3 additions and 1 deletions
|
@ -1822,7 +1822,9 @@ function Status({
|
||||||
media={media}
|
media={media}
|
||||||
autoAnimate={isSizeLarge}
|
autoAnimate={isSizeLarge}
|
||||||
showCaption={mediaAttachments.length === 1}
|
showCaption={mediaAttachments.length === 1}
|
||||||
allowLongerCaption={!content}
|
allowLongerCaption={
|
||||||
|
!content && mediaAttachments.length === 1
|
||||||
|
}
|
||||||
lang={language}
|
lang={language}
|
||||||
altIndex={
|
altIndex={
|
||||||
showMultipleMediaCaptions &&
|
showMultipleMediaCaptions &&
|
||||||
|
|
Loading…
Add table
Reference in a new issue