[android] Add "Operator: %@"

Signed-off-by: David Martinez <47610359+dvdmrtnz@users.noreply.github.com>
This commit is contained in:
David Martinez 2024-06-27 23:31:46 +02:00 committed by Viktor Havaka
parent de97b28f81
commit c8139086d7

View file

@ -414,7 +414,8 @@ public class PlacePageView extends Fragment implements View.OnClickListener,
{
refreshLatLon();
refreshMetadataOrHide(mMapObject.getMetadata(Metadata.MetadataType.FMD_OPERATOR), mOperator, mTvOperator);
final String operator = mMapObject.getMetadata(Metadata.MetadataType.FMD_OPERATOR);
refreshMetadataOrHide(!TextUtils.isEmpty(operator) ? getString(R.string.operator, operator) : "", mOperator, mTvOperator);
final String network = mMapObject.getMetadata(Metadata.MetadataType.FMD_NETWORK);
refreshMetadataOrHide(!TextUtils.isEmpty(network) ? getString(R.string.network, network) : "", mNetwork, mTvNetwork);