Fixed deleted POI search
This commit is contained in:
parent
0aa2d1a61a
commit
07bd4e7121
1 changed files with 4 additions and 0 deletions
|
@ -102,6 +102,10 @@ public class QuickSearchListItem {
|
|||
case LOCATION:
|
||||
LatLon latLon = searchResult.location;
|
||||
return PointDescription.getLocationNamePlain(app, latLon.getLatitude(), latLon.getLongitude());
|
||||
case POI:
|
||||
if (((Amenity)searchResult.object).isClosed()) {
|
||||
return searchResult.localeName + " (Closed)";
|
||||
}
|
||||
}
|
||||
return searchResult.localeName;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue