Wikipedia suggestion

This commit is contained in:
Victor Shcherb 2015-06-14 20:25:17 +02:00
parent 43a0bd60da
commit 83f413763c

View file

@ -431,7 +431,10 @@ public class DownloadActivity extends BaseDownloadActivity {
if(fit && !indexed.containsKey(fname+".wiki.obf") ) { if(fit && !indexed.containsKey(fname+".wiki.obf") ) {
wikipediaItems.add(fname); wikipediaItems.add(fname);
} }
} else if(i.getType() == DownloadActivityType.WIKIPEDIA_FILE) { }
}
for(IndexItem i : getEntriesToDownload().keySet()) {
if(i.getType() == DownloadActivityType.WIKIPEDIA_FILE) {
wikipediaItems.remove(i.getBasename()); wikipediaItems.remove(i.getBasename());
} }
} }