mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-06-05 21:49:22 +02:00
Check for exact mimetype match
This commit is contained in:
@ -45,5 +45,5 @@ fun String.isZipMimeType(): Boolean {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fun String.isPlainTextMimeType(): Boolean {
|
fun String.isPlainTextMimeType(): Boolean {
|
||||||
return lowercase().startsWith("text")
|
return lowercase() == "text/plain"
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user