From 78055e49d3c4146d6ec0c0436515703bc899bf9a Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 18 Apr 2014 12:03:02 +0200 Subject: [PATCH] reverse logic as we currently do not index hillshade files in backup folder --- .../src/net/osmand/plus/download/DownloadIndexAdapter.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/download/DownloadIndexAdapter.java b/OsmAnd/src/net/osmand/plus/download/DownloadIndexAdapter.java index d21f97a9dd..d4d5f3903d 100644 --- a/OsmAnd/src/net/osmand/plus/download/DownloadIndexAdapter.java +++ b/OsmAnd/src/net/osmand/plus/download/DownloadIndexAdapter.java @@ -263,10 +263,10 @@ public class DownloadIndexAdapter extends OsmandBaseExpandableListAdapter implem || e.getType() == DownloadActivityType.SRTM_COUNTRY_FILE){ item.setTextColor(okColor); // GREEN String sfName = e.getTargetFileName(); - if (indexActivatedFileNames.containsKey(sfName)) { - item.setTypeface(Typeface.DEFAULT, Typeface.NORMAL); - } else { + if (!indexActivatedFileNames.containsKey(sfName)) { item.setTypeface(Typeface.DEFAULT, Typeface.ITALIC); + } else { + item.setTypeface(Typeface.DEFAULT, Typeface.NORMAL); } } else if (e.getDate() != null) { String sfName = e.getTargetFileName();