convert image mimetype to lowercase, remove unused imports/tags
This commit is contained in:
parent
0124c6e2f7
commit
b317507370
2 changed files with 1 additions and 3 deletions
|
|
@ -12,5 +12,5 @@ fun String.getExtensionFromMimeType(): String {
|
|||
}
|
||||
|
||||
fun String.isImageMimeType(): Boolean {
|
||||
return startsWith("image")
|
||||
return lowercase().startsWith("image")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue