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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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"