Fix issue with wikivoayge not updated
This commit is contained in:
parent
df81a47b6e
commit
81fe4d2d94
1 changed files with 2 additions and 1 deletions
|
@ -178,7 +178,8 @@ public class DownloadResources extends DownloadResourceGroup {
|
||||||
outdated = true;
|
outdated = true;
|
||||||
} else if(item.getType() == DownloadActivityType.WIKIVOYAGE_FILE) {
|
} else if(item.getType() == DownloadActivityType.WIKIVOYAGE_FILE) {
|
||||||
long itemSize = item.getContentSize();
|
long itemSize = item.getContentSize();
|
||||||
long oldItemSize = app.getAppPath(item.getTargetFileName()).length();
|
long oldItemSize = app.getAppPath(IndexConstants.WIKIVOYAGE_INDEX_DIR +
|
||||||
|
item.getTargetFileName()).length();
|
||||||
if (itemSize != oldItemSize) {
|
if (itemSize != oldItemSize) {
|
||||||
outdated = true;
|
outdated = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue