From b6a4aed6b1b4d2dbee49b382139e15860e277aab Mon Sep 17 00:00:00 2001 From: sonora Date: Fri, 12 Sep 2014 13:35:06 +0200 Subject: [PATCH] try fix alarms icon display --- OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java index 547d6f7f6d..c2fab9ba34 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java @@ -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; }