placing check for semicolon in mime type

This commit is contained in:
MohitMali 2022-05-03 12:52:01 +05:30 committed by Emmanuel Engelhart
parent a48efb774c
commit e5a58521b9
No known key found for this signature in database
GPG Key ID: 120B30D020B553D3

View File

@ -127,7 +127,7 @@ class ZimFileReader constructor(
}
fun readMimeType(uri: String): String = getContentAndMimeType(uri)
.second.also {
.second.substringBefore(";").also {
Log.d(TAG, "getting mimetype for $uri = $it")
}