Merge pull request #142 from Murilobeluco/main

Add support for 'image/jpg' MIME type
This commit is contained in:
Philipp C. Heckel 2025-12-26 13:06:11 -05:00 committed by GitHub
commit 67f284e0cc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -327,7 +327,7 @@ fun mimeTypeToIconResource(mimeType: String?): Int {
}
fun supportedImage(mimeType: String?): Boolean {
return listOf("image/jpeg", "image/png", "image/gif", "image/webp").contains(mimeType)
return listOf("image/jpeg", "image/jpg", "image/png", "image/gif", "image/webp").contains(mimeType)
}
// We cannot open .apk files, because we don't have the REQUEST_INSTALL_PACKAGES anymore