mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 12:03:09 -04:00
Fixed zim file not opening. Now zim files open according to the one being clicked.
This commit is contained in:
parent
8e554e1118
commit
bc827681e4
@ -122,8 +122,8 @@ public class ZimContentProvider extends ContentProvider {
|
||||
if(!listedEntries.contains(reader.getId())) {
|
||||
listedEntries.add(reader.getId());
|
||||
jniSearcher.addKiwixReader(reader);
|
||||
currentJNIReader = reader;
|
||||
}
|
||||
currentJNIReader = reader;
|
||||
zimFileName = fileName;
|
||||
} catch (JNIKiwixException e) {
|
||||
Log.e(TAG_KIWIX, "Unable to open the ZIM file " + fileName);
|
||||
|
Loading…
x
Reference in New Issue
Block a user