mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 10:46:53 -04:00
placing check for semicolon in mime type
This commit is contained in:
parent
a48efb774c
commit
e5a58521b9
@ -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")
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user