Fix category

This commit is contained in:
xmd5a2 2014-10-28 11:34:04 +03:00
parent f91f7d701e
commit b1d9ea1df6

View file

@ -257,7 +257,7 @@ public class ConfigureMapMenu {
List<RenderingRuleProperty> customRules = new ArrayList<RenderingRuleProperty>(renderer.PROPS.getCustomRules()); List<RenderingRuleProperty> customRules = new ArrayList<RenderingRuleProperty>(renderer.PROPS.getCustomRules());
createProperties(customRules, R.string.rendering_category_details, "details", createProperties(customRules, R.string.rendering_category_details, "details",
adapter, activity); adapter, activity);
createProperties(customRules, R.string.rendering_category_transport, "routes", createProperties(customRules, R.string.rendering_category_routes, "routes",
adapter, activity); adapter, activity);
if(customRules.size() > 0) { if(customRules.size() > 0) {
adapter.item(R.string.rendering_category_others).setCategory(true).layout(R.layout.drawer_list_sub_header).reg(); adapter.item(R.string.rendering_category_others).setCategory(true).layout(R.layout.drawer_list_sub_header).reg();