Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
6c7ea6e9ed
1 changed files with 3 additions and 0 deletions
|
@ -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));
|
||||||
|
|
Loading…
Reference in a new issue