try fix alarms icon display
This commit is contained in:
parent
ccba35aec5
commit
b6a4aed6b1
1 changed files with 2 additions and 2 deletions
|
@ -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())) {
|
||||
return uiCtx.getResources().getDrawable(RenderingIcons.getBigIconResourceId(((AlarmInfo) point).getType().toString()));
|
||||
if(RenderingIcons.containsBigIcon(((AlarmInfo) point).getType().toString().toLowerCase())) {
|
||||
return uiCtx.getResources().getDrawable(RenderingIcons.getBigIconResourceId(((AlarmInfo) point).getType().toString().toLowerCase()));
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue