moved check for if currentDownloadingItem tp the top
This commit is contained in:
parent
64cfd1d4b5
commit
0d03a7d472
1 changed files with 3 additions and 3 deletions
|
@ -120,12 +120,12 @@ public class DownloadIndexesThread {
|
|||
StringBuilder contentText = new StringBuilder();
|
||||
List<IndexItem> ii = getCurrentDownloadingItems();
|
||||
for (IndexItem i : ii) {
|
||||
if (contentText.length() > 0) {
|
||||
contentText.append(", ");
|
||||
}
|
||||
if (i == currentDownloadingItem) {
|
||||
continue;
|
||||
}
|
||||
if (contentText.length() > 0) {
|
||||
contentText.append(", ");
|
||||
}
|
||||
contentText.append(i.getVisibleName(app, app.getRegions()));
|
||||
if (i.getType() != null) {
|
||||
contentText.append(" ").append(i.getType().getString(app));
|
||||
|
|
Loading…
Reference in a new issue