remove unnecessary method calls

This commit is contained in:
Chumva 2019-06-18 18:45:20 +03:00
parent 0c3621d57a
commit 1ffefa8505

View file

@ -169,7 +169,7 @@ public class DownloadIndexesThread {
}
public boolean isDownloading() {
return !getCurrentDownloadingItems().isEmpty() || getCurrentDownloadingItem() != null;
return !indexItemDownloading.isEmpty() || currentDownloadingItem != null;
}
public boolean isDownloading(IndexItem item) {