try fix alarm icon list display
This commit is contained in:
parent
b6a4aed6b1
commit
5d8abca7bc
1 changed files with 2 additions and 2 deletions
|
@ -670,8 +670,8 @@ public class WaypointHelper {
|
||||||
} else if(type == FAVORITES || type == WAYPOINTS) {
|
} else if(type == FAVORITES || type == WAYPOINTS) {
|
||||||
return FavoriteImageDrawable.getOrCreate(uiCtx, point.getColor());
|
return FavoriteImageDrawable.getOrCreate(uiCtx, point.getColor());
|
||||||
} else if(type == ALARMS) {
|
} else if(type == ALARMS) {
|
||||||
if(RenderingIcons.containsBigIcon(((AlarmInfo) point).getType().toString().toLowerCase())) {
|
if(RenderingIcons.containsBigIcon("list_" + ((AlarmInfo) point).getType().toString().toLowerCase())) {
|
||||||
return uiCtx.getResources().getDrawable(RenderingIcons.getBigIconResourceId(((AlarmInfo) point).getType().toString().toLowerCase()));
|
return uiCtx.getResources().getDrawable(RenderingIcons.getBigIconResourceId("list_" + ((AlarmInfo) point).getType().toString().toLowerCase()));
|
||||||
} else {
|
} else {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue