Check for exact mimetype match
This commit is contained in:
parent
1e67cd0fdf
commit
ccacc51156
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue