Fix issue with wikivoayge not updated
This commit is contained in:
parent
4ac9d6b126
commit
8914ef58e0
1 changed files with 2 additions and 1 deletions
|
@ -178,7 +178,8 @@ public class DownloadResources extends DownloadResourceGroup {
|
|||
outdated = true;
|
||||
} else if(item.getType() == DownloadActivityType.WIKIVOYAGE_FILE) {
|
||||
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) {
|
||||
outdated = true;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue