Waypoint list icons for ALARMS

This commit is contained in:
sonora 2014-09-12 12:53:11 +02:00
parent 1529b84557
commit ab113d1e25

View file

@ -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;
}