Merge pull request #142 from Murilobeluco/main
Add support for 'image/jpg' MIME type
This commit is contained in:
commit
67f284e0cc
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue