Check for exact mimetype match

This commit is contained in:
Naveen 2022-11-07 20:22:22 +05:30
parent 1e67cd0fdf
commit ccacc51156
1 changed files with 1 additions and 1 deletions

View File

@ -45,5 +45,5 @@ fun String.isZipMimeType(): Boolean {
}
fun String.isPlainTextMimeType(): Boolean {
return lowercase().startsWith("text")
return lowercase() == "text/plain"
}