reverse logic as we currently do not index hillshade files in backup folder

This commit is contained in:
sonora 2014-04-18 12:03:02 +02:00
parent 8281c690bf
commit 78055e49d3

View file

@ -263,10 +263,10 @@ public class DownloadIndexAdapter extends OsmandBaseExpandableListAdapter implem
|| e.getType() == DownloadActivityType.SRTM_COUNTRY_FILE){ || e.getType() == DownloadActivityType.SRTM_COUNTRY_FILE){
item.setTextColor(okColor); // GREEN item.setTextColor(okColor); // GREEN
String sfName = e.getTargetFileName(); String sfName = e.getTargetFileName();
if (indexActivatedFileNames.containsKey(sfName)) { if (!indexActivatedFileNames.containsKey(sfName)) {
item.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
} else {
item.setTypeface(Typeface.DEFAULT, Typeface.ITALIC); item.setTypeface(Typeface.DEFAULT, Typeface.ITALIC);
} else {
item.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
} }
} else if (e.getDate() != null) { } else if (e.getDate() != null) {
String sfName = e.getTargetFileName(); String sfName = e.getTargetFileName();