From 0d03a7d472cea1c3e6e1e32085cd3bc31f66f685 Mon Sep 17 00:00:00 2001 From: Chumva Date: Mon, 26 Feb 2018 13:33:51 +0200 Subject: [PATCH] moved check for if currentDownloadingItem tp the top --- .../src/net/osmand/plus/download/DownloadIndexesThread.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/download/DownloadIndexesThread.java b/OsmAnd/src/net/osmand/plus/download/DownloadIndexesThread.java index b2c7dc3038..a98acbe0c0 100644 --- a/OsmAnd/src/net/osmand/plus/download/DownloadIndexesThread.java +++ b/OsmAnd/src/net/osmand/plus/download/DownloadIndexesThread.java @@ -120,12 +120,12 @@ public class DownloadIndexesThread { StringBuilder contentText = new StringBuilder(); List 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));