Removed rendering mode from configure map settings

This commit is contained in:
Denis 2014-12-03 14:52:29 +02:00
parent a34142152d
commit af55ae3572

View file

@ -325,8 +325,10 @@ public class ConfigureMapMenu {
private void createCustomRenderingProperties(final ContextMenuAdapter adapter , final MapActivity activity, private void createCustomRenderingProperties(final ContextMenuAdapter adapter , final MapActivity activity,
List<RenderingRuleProperty> customRules ){ List<RenderingRuleProperty> customRules ){
final OsmandMapTileView view = activity.getMapView(); final OsmandMapTileView view = activity.getMapView();
final OsmandApplication app = view.getApplication();
for (final RenderingRuleProperty p : customRules) { for (final RenderingRuleProperty p : customRules) {
if (p.getAttrName().equals("appMode")){
continue;
}
String propertyName = SettingsActivity.getStringPropertyName(view.getContext(), p.getAttrName(), String propertyName = SettingsActivity.getStringPropertyName(view.getContext(), p.getAttrName(),
p.getName()); p.getName());
// test old descr as title // test old descr as title