reverse logic as we currently do not index hillshade files in backup folder
This commit is contained in:
parent
8281c690bf
commit
78055e49d3
1 changed files with 3 additions and 3 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue