Fix critical issue with TTS
This commit is contained in:
parent
d146f1f140
commit
0b4a554e1c
1 changed files with 1 additions and 1 deletions
|
@ -453,7 +453,7 @@ public class DownloadIndexActivity extends OsmandExpandableListActivity {
|
||||||
int total = settings.NUMBER_OF_FREE_DOWNLOADS.get() + entriesToDownload.size();
|
int total = settings.NUMBER_OF_FREE_DOWNLOADS.get() + entriesToDownload.size();
|
||||||
boolean wiki = false;
|
boolean wiki = false;
|
||||||
for (DownloadEntry es : entriesToDownload.values()) {
|
for (DownloadEntry es : entriesToDownload.values()) {
|
||||||
if (es.baseName.contains("_wiki")) {
|
if (es.baseName != null && es.baseName.contains("_wiki")) {
|
||||||
wiki = true;
|
wiki = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue