From 3a494cad5cfea2fa9231279572fa6059f81e7591 Mon Sep 17 00:00:00 2001 From: PaulStets Date: Sat, 3 Mar 2018 18:32:51 +0200 Subject: [PATCH] Small refactoring --- OsmAnd/src/net/osmand/plus/transport/TransportStopRoute.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/transport/TransportStopRoute.java b/OsmAnd/src/net/osmand/plus/transport/TransportStopRoute.java index caff17097d..a5186705aa 100644 --- a/OsmAnd/src/net/osmand/plus/transport/TransportStopRoute.java +++ b/OsmAnd/src/net/osmand/plus/transport/TransportStopRoute.java @@ -60,7 +60,7 @@ public class TransportStopRoute { RenderingRuleSearchRequest req = new RenderingRuleSearchRequest(rrs); req.setBooleanFilter(rrs.PROPS.R_NIGHT_MODE, nightMode); String color = route.getColor(); - String typeStr = color == null || color.isEmpty() ? type.getRendeAttr() : color; + String typeStr = color == null || color.isEmpty() ? type.getRendeAttr() : color; if (req.searchRenderingAttribute(typeStr)) { cachedColor = req.getIntPropertyValue(rrs.PROPS.R_ATTR_COLOR_VALUE); }