Merge pull request #81 from jokakilla/webpSupport
Add image/webp to supportImage mimeType list
This commit is contained in:
commit
cf021f521f
1 changed files with 1 additions and 1 deletions
|
|
@ -333,7 +333,7 @@ fun mimeTypeToIconResource(mimeType: String?): Int {
|
|||
}
|
||||
|
||||
fun supportedImage(mimeType: String?): Boolean {
|
||||
return listOf("image/jpeg", "image/png", "image/gif").contains(mimeType)
|
||||
return listOf("image/jpeg", "image/png", "image/gif", "image/webp").contains(mimeType)
|
||||
}
|
||||
|
||||
// Google Play doesn't allow us to install received .apk files anymore.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue