Merge pull request #5422 from osmandapp/Fix_5284

Fix_5284
This commit is contained in:
vshcherb 2018-05-18 23:25:27 +02:00 committed by GitHub
commit 73f18f291b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -28,6 +28,7 @@ public class Amenity extends MapObject {
public static final String DESCRIPTION = "description";
public static final String ROUTE = "route";
public static final String OPENING_HOURS = "opening_hours";
public static final String SERVICE_TIMES = "service_times";
public static final String CONTENT = "content";
public static final String CUISINE = "cuisine";
public static final String DISH = "dish";

View file

@ -364,7 +364,7 @@ public class AmenityMenuBuilder extends MenuBuilder {
boolean isText = false;
boolean isDescription = false;
boolean needLinks = !("population".equals(key)
|| "service_hours".equals(key)
|| "service_times".equals(key)
|| "height".equals(key));
boolean isPhoneNumber = false;
boolean isUrl = false;