mirror of
https://github.com/SimpleMobileTools/Simple-SMS-Messenger.git
synced 2025-01-31 01:29:30 +01:00
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 {
|
||||
return lowercase().startsWith("text")
|
||||
return lowercase() == "text/plain"
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user