From c05b7b386951d98e96a1947443669a254202350a Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 30 Oct 2015 10:09:14 +0100 Subject: [PATCH] neutral color for deactivated items --- .../src/net/osmand/plus/download/ui/LocalIndexesFragment.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OsmAnd/src/net/osmand/plus/download/ui/LocalIndexesFragment.java b/OsmAnd/src/net/osmand/plus/download/ui/LocalIndexesFragment.java index 21353c26aa..2d6f306980 100644 --- a/OsmAnd/src/net/osmand/plus/download/ui/LocalIndexesFragment.java +++ b/OsmAnd/src/net/osmand/plus/download/ui/LocalIndexesFragment.java @@ -1031,6 +1031,9 @@ public class LocalIndexesFragment extends OsmandExpandableListFragment implement } }); int colorId = filesToUpdate.containsKey(child.getFileName()) ? R.color.color_distance : R.color.color_ok; + if (child.isBackupedData()) { + colorId = R.color.color_unknown; + } icon.setImageDrawable(getContentIcon(ctx, child.getType().getIconResource(), colorId)); nameTextView.setText(getNameToDisplay(child));