add backed-up indication for hillshade and srtm files to new download screen
This commit is contained in:
parent
439ba4bf8f
commit
708685128a
1 changed files with 6 additions and 1 deletions
|
@ -262,7 +262,12 @@ public class DownloadIndexAdapter extends OsmandBaseExpandableListAdapter implem
|
|||
if(e.getType() == DownloadActivityType.HILLSHADE_FILE
|
||||
|| 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
|
||||
item.setTypeface(Typeface.DEFAULT, Typeface.ITALIC);
|
||||
}
|
||||
} else if (e.getDate() != null) {
|
||||
String sfName = e.getTargetFileName();
|
||||
if (e.getDate().equals(indexActivatedFileNames.get(sfName))) {
|
||||
|
|
Loading…
Reference in a new issue