make hillshade files always appear in normal typeface, as they cannot be deactivated, but are not in indexActivatedFilesNames
This commit is contained in:
parent
98a7ff9c7e
commit
877e7a93f6
1 changed files with 3 additions and 0 deletions
|
@ -265,6 +265,9 @@ public class DownloadIndexAdapter extends OsmandBaseExpandableListAdapter implem
|
|||
String sfName = e.getTargetFileName();
|
||||
if (indexActivatedFileNames.containsKey(sfName)) {
|
||||
item.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
|
||||
// next case since present hillshade files cannot be deactivated, but are not in indexActivatedFileNames
|
||||
} else if (e.getType() == DownloadActivityType.HILLSHADE_FILE) {
|
||||
item.setTypeface(Typeface.DEFAULT, Typeface.NORMAL);
|
||||
} else {
|
||||
item.setTypeface(Typeface.DEFAULT, Typeface.ITALIC);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue