Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-10-30 10:09:28 +01:00
commit 6c7ea6e9ed

View file

@ -1031,6 +1031,9 @@ public class LocalIndexesFragment extends OsmandExpandableListFragment implement
} }
}); });
int colorId = filesToUpdate.containsKey(child.getFileName()) ? R.color.color_distance : R.color.color_ok; 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)); icon.setImageDrawable(getContentIcon(ctx, child.getType().getIconResource(), colorId));
nameTextView.setText(getNameToDisplay(child)); nameTextView.setText(getNameToDisplay(child));