investigate 2293 (1)

This commit is contained in:
sonora 2016-03-01 09:30:53 +01:00
parent 3aa42d4f0b
commit df96865a74

View file

@ -99,7 +99,11 @@ public class PointDescription {
@NonNull
public String getSimpleName(Context ctx, boolean addTypeName) {
if (isLocation()) {
if (Algorithms.isEmpty(name) {
return getLocationName(ctx, lat, lon, true).replace('\n', ' ');
} else {
return name;
}
}
if (!Algorithms.isEmpty(typeName)) {
if (Algorithms.isEmpty(name)) {