Removed unnecessary conditions

This commit is contained in:
PaulStets 2018-03-01 15:06:42 +02:00
parent c1287e455e
commit f7d549e0af

View file

@ -194,9 +194,8 @@ public class AmenityMenuController extends MenuController {
if (addTypes != null) { if (addTypes != null) {
String region = addTypes.get("subway_region"); String region = addTypes.get("subway_region");
if (region != null) { if (region != null) {
region = "subway_" + region; return RenderingIcons.getBigIcon(getMapActivity(), "subway_" + region);
} }
return RenderingIcons.getBigIcon(getMapActivity(), region);
} }
return null; return null;
} }