reverse lines
This commit is contained in:
parent
ba579fd3ed
commit
a3580751c5
1 changed files with 3 additions and 3 deletions
|
@ -99,10 +99,10 @@ 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 {
|
||||
if (!Algorithms.isEmpty(name)) {
|
||||
return name;
|
||||
} else {
|
||||
return getLocationName(ctx, lat, lon, true).replace('\n', ' ');
|
||||
}
|
||||
}
|
||||
if (!Algorithms.isEmpty(typeName)) {
|
||||
|
|
Loading…
Reference in a new issue