add check for ref in title
This commit is contained in:
parent
c128a2e752
commit
8676032a00
1 changed files with 1 additions and 1 deletions
|
@ -143,7 +143,7 @@ public class AmenityMenuController extends MenuController {
|
|||
Map<String, String> additionalInfo = amenity.getAdditionalInfo();
|
||||
if (additionalInfo != null) {
|
||||
String ref = additionalInfo.get("ref");
|
||||
if (!TextUtils.isEmpty(ref)) {
|
||||
if (!TextUtils.isEmpty(ref) && !ref.equals(name)) {
|
||||
return name + " (" + ref + ")";
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue