From 3dbbba0be24849f88f97a59eebb8a0545c3358a2 Mon Sep 17 00:00:00 2001 From: Lim Chee Aun Date: Tue, 12 Mar 2024 08:14:07 +0800 Subject: [PATCH] Fix captioning turned on even when showCaption = false --- src/components/status.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/components/status.jsx b/src/components/status.jsx index 7ae36a3..eebdfb1 100644 --- a/src/components/status.jsx +++ b/src/components/status.jsx @@ -1822,7 +1822,9 @@ function Status({ media={media} autoAnimate={isSizeLarge} showCaption={mediaAttachments.length === 1} - allowLongerCaption={!content} + allowLongerCaption={ + !content && mediaAttachments.length === 1 + } lang={language} altIndex={ showMultipleMediaCaptions &&