Render media captions formatting in the media viewer (#6729)

* Render media captions formatting in the media viewer

* Update screenshots

* Trigger actions

* Remove unused imports and reformat code

---------

Co-authored-by: ElementBot <android@element.io>
Co-authored-by: Jorge Martín <jorgem@element.io>
This commit is contained in:
bxdxnn 2026-05-08 17:30:32 +03:00 committed by GitHub
parent 643c746bc4
commit 06f3c649f5
26 changed files with 182 additions and 22 deletions

View file

@ -41,6 +41,7 @@ class FakeLocalMediaFactory(
filename = safeName,
fileSize = null,
caption = null,
formattedCaption = null,
mimeType = mimeType ?: fallbackMimeType,
formattedFileSize = formattedFileSize ?: fallbackFileSize,
fileExtension = fileExtensionExtractor.extractFromName(safeName),