fix light mode

This commit is contained in:
sonora 2016-01-04 15:06:59 +01:00
parent 6a64388fa0
commit 8377a9810c

View file

@ -293,6 +293,8 @@ public class MapRouteInfoMenu implements IRouteInformationListener {
ApplicationMode appMode = mapActivity.getMyApplication().getSettings().getApplicationMode();
if (targets.getPointToStart() == null) {
fromIcon.setImageDrawable(mapActivity.getResources().getDrawable(appMode.getResourceLocationDay()));
} else if (isLight()) {
fromIcon.setImageDrawable(mapActivity.getMyApplication().getIconsCache().getContentIcon(R.drawable.ic_action_marker_dark, isLight()));
} else {
fromIcon.setImageDrawable(getIconOrig(R.drawable.ic_action_marker_dark));
}