mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 12:03:09 -04:00
#1294 Landing page is not displayed on Wikimedia zims develop fix
This commit is contained in:
parent
ca1fff31cf
commit
70f26a75dd
@ -342,7 +342,7 @@ public class ZimContentProvider extends ContentProvider {
|
|||||||
|
|
||||||
// This is the code which retrieve the mimeType from the libzim
|
// This is the code which retrieve the mimeType from the libzim
|
||||||
// "slow" and still bugyy
|
// "slow" and still bugyy
|
||||||
if (mimeType.isEmpty()) {
|
if (mimeType == null || mimeType.isEmpty()) {
|
||||||
String t = uri.toString();
|
String t = uri.toString();
|
||||||
int pos = uri.toString().indexOf(CONTENT_URI.toString());
|
int pos = uri.toString().indexOf(CONTENT_URI.toString());
|
||||||
if (pos != -1) {
|
if (pos != -1) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user