Update OsmAndFormatter.java
This commit is contained in:
parent
46e0fb71e6
commit
8ca93aebfe
1 changed files with 1 additions and 2 deletions
|
@ -205,12 +205,11 @@ public class OsmAndFormatter {
|
|||
} else if(Amenity.PHONE.equals(key)) {
|
||||
d.append(ctx.getString(R.string.phone) + ": ");
|
||||
} else if(Amenity.WEBSITE.equals(key)) {
|
||||
|
||||
d.append(ctx.getString(R.string.website) + ": ");
|
||||
} else {
|
||||
AbstractPoiType pt = poiTypes.getAnyPoiAdditionalTypeByKey(e.getKey());
|
||||
if (pt != null) {
|
||||
if(pt instance PoiType && !((PoiType) pt).isText()) {
|
||||
if(pt instanceof PoiType && !((PoiType) pt).isText()) {
|
||||
vl = pt.getTranslation();
|
||||
} else {
|
||||
vl = pt.getTranslation() + ": " + amenity.unzipContent(e.getValue());
|
||||
|
|
Loading…
Reference in a new issue