Revert to default turn type (straight)
This commit is contained in:
parent
86fdc5f16a
commit
ee57d4d282
1 changed files with 1 additions and 5 deletions
|
@ -585,11 +585,7 @@ public class RouteInfoWidgetsFactory {
|
||||||
int turnType;
|
int turnType;
|
||||||
if ((lanes[i] & 1) == 1) {
|
if ((lanes[i] & 1) == 1) {
|
||||||
paintRouteDirection.setColor(imminent ? getResources().getColor(R.color.nav_arrow_imminent) : getResources().getColor(R.color.nav_arrow));
|
paintRouteDirection.setColor(imminent ? getResources().getColor(R.color.nav_arrow_imminent) : getResources().getColor(R.color.nav_arrow));
|
||||||
if(TurnType.getPrimaryTurn(lanes[i]) == 0) {
|
turnType = TurnType.getPrimaryTurn(lanes[i]);
|
||||||
turnType = turn.getValue();
|
|
||||||
} else {
|
|
||||||
turnType = TurnType.getPrimaryTurn(lanes[i]);
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
paintRouteDirection.setColor(getResources().getColor(R.color.nav_arrow_distant));
|
paintRouteDirection.setColor(getResources().getColor(R.color.nav_arrow_distant));
|
||||||
turnType = TurnType.getPrimaryTurn(lanes[i]);
|
turnType = TurnType.getPrimaryTurn(lanes[i]);
|
||||||
|
|
Loading…
Reference in a new issue