try fix alarm icon list display

This commit is contained in:
sonora 2014-09-12 13:37:13 +02:00
parent b6a4aed6b1
commit 5d8abca7bc

View file

@ -670,8 +670,8 @@ public class WaypointHelper {
} else if(type == FAVORITES || type == WAYPOINTS) {
return FavoriteImageDrawable.getOrCreate(uiCtx, point.getColor());
} else if(type == ALARMS) {
if(RenderingIcons.containsBigIcon(((AlarmInfo) point).getType().toString().toLowerCase())) {
return uiCtx.getResources().getDrawable(RenderingIcons.getBigIconResourceId(((AlarmInfo) point).getType().toString().toLowerCase()));
if(RenderingIcons.containsBigIcon("list_" + ((AlarmInfo) point).getType().toString().toLowerCase())) {
return uiCtx.getResources().getDrawable(RenderingIcons.getBigIconResourceId("list_" + ((AlarmInfo) point).getType().toString().toLowerCase()));
} else {
return null;
}