From 98a7ff9c7e2615ee0354671c27affb6b72ab6157 Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 18 Apr 2014 13:56:58 +0200 Subject: [PATCH] use regular order like in other cases, we do not activate/de-activate hillshade files at all for now --- .../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 d4d5f3903d..d21f97a9dd 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.ITALIC); - } else { + if (indexActivatedFileNames.containsKey(sfName)) { item.setTypeface(Typeface.DEFAULT, Typeface.NORMAL); + } else { + item.setTypeface(Typeface.DEFAULT, Typeface.ITALIC); } } else if (e.getDate() != null) { String sfName = e.getTargetFileName();