fix light mode
This commit is contained in:
parent
6a64388fa0
commit
8377a9810c
1 changed files with 2 additions and 0 deletions
|
@ -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));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue