Commit d438f5c
committed
Fixed: Someone has reported a crash for
* Improved the return of the `illustration` item; previously, we were checking first that it had the `illustration` item or not, and then getting the illustration. It calls twice at the library. Now, we are directly getting the illustration like metadata, and if not found, returning null. It will work similarly to the previous, but an extra JNI call is avoided.ZimFileReader.getFavicon.1 parent 55a599a commit d438f5c
File tree
1 file changed
+8
-10
lines changed- core/src/main/java/org/kiwix/kiwixmobile/core/reader
1 file changed
+8
-10
lines changedLines changed: 8 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| |||
150 | 149 | | |
151 | 150 | | |
152 | 151 | | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
162 | 160 | | |
163 | 161 | | |
164 | 162 | | |
| |||
0 commit comments