Fix: WebP images can't be sent as media. (#1501)

* Fix: WebP images can't be sent as media.

* Place the `BitmapFactory.Options` mode change and comment where it belongs.
This commit is contained in:
Jorge Martin Espinosa 2023-10-06 11:18:11 +02:00 committed by GitHub
parent e151e5351e
commit 0502b21ff8
4 changed files with 27 additions and 20 deletions

View file

@ -31,6 +31,7 @@ object MimeTypes {
const val BadJpg = "image/jpg"
const val Jpeg = "image/jpeg"
const val Gif = "image/gif"
const val WebP = "image/webp"
const val Videos = "video/*"
const val Mp4 = "video/mp4"