chore: Follow up image rendering

This commit is contained in:
krille-chan 2024-03-24 10:56:44 +01:00
commit 45e1122648
No known key found for this signature in database
5 changed files with 48 additions and 49 deletions

View file

@ -152,7 +152,8 @@ class ChatController extends State<ChatPageWithRoom>
return MatrixFile(
bytes: await xfile.readAsBytes(),
name: xfile.name,
);
mimeType: xfile.mimeType,
).detectFileType;
},
),
);