feat: Move videoplayer into multi image viewer
Also fixes video thumbnails Signed-off-by: Christian Kußowski <c.kussowski@famedly.com>
This commit is contained in:
parent
b022741310
commit
55705d761d
8 changed files with 292 additions and 175 deletions
|
|
@ -96,7 +96,7 @@ class _MxcImageState extends State<MxcImage> {
|
|||
final data = await event.downloadAndDecryptAttachment(
|
||||
getThumbnail: widget.isThumbnail,
|
||||
);
|
||||
if (data.detectFileType is MatrixImageFile) {
|
||||
if (data.detectFileType is MatrixImageFile || widget.isThumbnail) {
|
||||
if (!mounted) return;
|
||||
setState(() {
|
||||
_imageData = data.bytes;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue