Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
6e02401233
2 changed files with 2 additions and 2 deletions
|
@ -682,8 +682,8 @@ public class WaypointHelper {
|
|||
} else if (type == TARGETS) {
|
||||
IconsCache iconsCache = app.getIconsCache();
|
||||
if (((TargetPoint) point).start) {
|
||||
ApplicationMode appMode = app.getSettings().getApplicationMode();
|
||||
if (app.getTargetPointsHelper().getPointToStart() == null) {
|
||||
ApplicationMode appMode = app.getSettings().getApplicationMode();
|
||||
return uiCtx.getResources().getDrawable(appMode.getResourceLocationDay());
|
||||
} else {
|
||||
return iconsCache.getContentIcon(R.drawable.ic_action_marker_dark, !nightMode);
|
||||
|
|
|
@ -291,8 +291,8 @@ public class MapRouteInfoMenu implements IRouteInformationListener {
|
|||
});
|
||||
|
||||
ImageView fromIcon = (ImageView) parentView.findViewById(R.id.fromIcon);
|
||||
ApplicationMode appMode = mapActivity.getMyApplication().getSettings().getApplicationMode();
|
||||
if (targets.getPointToStart() == null) {
|
||||
ApplicationMode appMode = mapActivity.getMyApplication().getSettings().getApplicationMode();
|
||||
fromIcon.setImageDrawable(mapActivity.getResources().getDrawable(appMode.getResourceLocationDay()));
|
||||
} else {
|
||||
fromIcon.setImageDrawable(mapActivity.getMyApplication().getIconsCache().getContentIcon(R.drawable.ic_action_marker_dark, isLight()));
|
||||
|
|
Loading…
Reference in a new issue