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 6f73a28699
commit ffef9d936a
4 changed files with 27 additions and 20 deletions
@@ -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"