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