Check for exact mimetype match
This commit is contained in:
parent
1e67cd0fdf
commit
ccacc51156
|
@ -45,5 +45,5 @@ fun String.isZipMimeType(): Boolean {
|
||||||
}
|
}
|
||||||
|
|
||||||
fun String.isPlainTextMimeType(): Boolean {
|
fun String.isPlainTextMimeType(): Boolean {
|
||||||
return lowercase().startsWith("text")
|
return lowercase() == "text/plain"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue