Fix captioning turned on even when showCaption = false

pull/456/head 2024.03.12.e73ae56
Lim Chee Aun 2024-03-12 08:14:07 +08:00
rodzic 0b8cbbef51
commit 3dbbba0be2
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -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 &&