After code review fixes 2
This commit is contained in:
parent
5ae37a101c
commit
b034db4f39
1 changed files with 2 additions and 3 deletions
|
@ -203,9 +203,8 @@ public class RouteLineColorCard extends BaseCard implements CardListener, ColorP
|
|||
private void updateColorName() {
|
||||
if (selectedMode == ColorMode.DEFAULT) {
|
||||
tvColorName.setText(app.getString(R.string.map_widget_renderer));
|
||||
} else {
|
||||
int selectedColor = routeLineDrawInfo.getColor();
|
||||
int colorNameId = ColorDialogs.getColorName(selectedColor);
|
||||
} else if (routeLineDrawInfo.getColor() != null) {
|
||||
int colorNameId = ColorDialogs.getColorName(routeLineDrawInfo.getColor());
|
||||
tvColorName.setText(app.getString(colorNameId));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue