convert image mimetype to lowercase, remove unused imports/tags

This commit is contained in:
Paul Akhamiogu 2021-09-06 11:13:28 +01:00
parent 0124c6e2f7
commit b317507370
2 changed files with 1 additions and 3 deletions

View file

@ -12,5 +12,5 @@ fun String.getExtensionFromMimeType(): String {
}
fun String.isImageMimeType(): Boolean {
return startsWith("image")
return lowercase().startsWith("image")
}