[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:
Arthur-GYT 2024-08-26 08:32:57 +02:00 committed by Alexander Borsuk
parent 574f197c07
commit 4032befe9f

View file

@ -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);