kopia lustrzana https://github.com/cheeaun/phanpy
Fix captioning turned on even when showCaption = false
rodzic
0b8cbbef51
commit
3dbbba0be2
|
@ -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 &&
|
||||||
|
|
Ładowanie…
Reference in New Issue