Files
element-x-android/features
Jorge Martin Espinosa 0442fbd307 Fix media viewer for medias not related to events displaying invalid state (#7280)
* When no URL is provided to `ContentValidationState.collectMediaState`, assume it's valid

That way we can do:

`if (validationState.isValid() && state.collectMediaState(possiblyNullUrl).isValid()) ...`

* Remove the `eventId` param from `ContentScannerService.scan`

It's not really used, since we then provide a state that can be mutated, and fetching that is what the previous parameter was used for

* Make sure to always validate the medias in the viewer, both the actual media and the thumbnail

* Update screenshots

---------

Co-authored-by: ElementBot <android@element.io>
2026-07-27 18:16:35 +02:00
..
2026-07-14 17:49:40 +02:00
2026-07-13 12:21:55 +02:00
2026-07-13 12:21:55 +02:00
2026-06-29 14:09:36 +02:00
2026-06-29 14:09:36 +02:00
2026-07-03 10:24:22 +02:00
2026-07-13 12:21:55 +02:00
2026-07-13 12:21:55 +02:00
2026-07-13 12:21:55 +02:00
2026-07-13 12:21:55 +02:00