correct icon for starting point
This commit is contained in:
parent
88bc33a34d
commit
15fea0eebf
1 changed files with 6 additions and 1 deletions
|
@ -683,7 +683,12 @@ public class WaypointHelper {
|
|||
IconsCache iconsCache = app.getIconsCache();
|
||||
if (((TargetPoint) point).start) {
|
||||
ApplicationMode appMode = app.getSettings().getApplicationMode();
|
||||
return uiCtx.getResources().getDrawable(appMode.getResourceLocationDay());
|
||||
//return uiCtx.getResources().getDrawable(appMode.getResourceLocationDay());
|
||||
if (app.getTargetPointsHelper().getTargets().getPointToStart() == null) {
|
||||
return uiCtx.getResources().getDrawable(appMode.getResourceLocationDay());
|
||||
} else {
|
||||
return iconsCache.getContentIcon(R.drawable.ic_action_marker_dark, !nightMode);
|
||||
}
|
||||
} else if (((TargetPoint) point).intermediate) {
|
||||
if (!nightMode) {
|
||||
return iconsCache.getIcon(R.drawable.widget_intermediate_day, 0, 0f);
|
||||
|
|
Loading…
Reference in a new issue