Waypoint list icons for ALARMS
This commit is contained in:
parent
1529b84557
commit
ab113d1e25
1 changed files with 5 additions and 1 deletions
|
@ -674,7 +674,11 @@ public class WaypointHelper {
|
|||
} else if(type == FAVORITES || type == WAYPOINTS) {
|
||||
return FavoriteImageDrawable.getOrCreate(uiCtx, point.getColor());
|
||||
} else if(type == ALARMS) {
|
||||
return null;
|
||||
if(RenderingIcons.containsBigIcon(((AlarmInfo) point).getType().toString())) {
|
||||
return uiCtx.getResources().getDrawable(RenderingIcons.getBigIconResourceId(((AlarmInfo) point).getType().toString()));
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue