forked from organicmaps/organicmaps
[android] Fix "If you select a node that has outdoor seating and then select something else it will incorrectly say it also has outdoor seating"
Signed-off-by: Arthur-GYT <a.gayot@posteo.com>
This commit is contained in:
parent
574f197c07
commit
4032befe9f
1 changed files with 1 additions and 4 deletions
|
@ -446,10 +446,7 @@ public class PlacePageView extends Fragment implements View.OnClickListener,
|
|||
refreshMetadataOrHide(Utils.getTagValueLocalized(getContext(), "self_service", selfService), mSelfService, mTvSelfService);
|
||||
|
||||
final String outdoorSeating = mMapObject.getMetadata(Metadata.MetadataType.FMD_OUTDOOR_SEATING);
|
||||
if (outdoorSeating.equals("yes"))
|
||||
{
|
||||
refreshMetadataOrHide(getString(R.string.outdoor_seating), mOutdoorSeating, mTvOutdoorSeating);
|
||||
}
|
||||
refreshMetadataOrHide(outdoorSeating.equals("yes") ? getString(R.string.outdoor_seating) : "", mOutdoorSeating, mTvOutdoorSeating);
|
||||
|
||||
// showTaxiOffer(mapObject);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue