[android] Fixed typo with Internet.

Signed-off-by: Viktor Govako <viktor.govako@gmail.com>
This commit is contained in:
Viktor Govako 2022-04-01 17:12:23 +03:00 committed by Alexander Borsuk
parent e0d5920559
commit ddecbb4c3e

View file

@ -973,7 +973,7 @@ public class PlacePageView extends NestedScrollViewClickFixed
private void refreshWiFi(@NonNull MapObject mapObject)
{
final String inet = mapObject.getMetadata(Metadata.MetadataType.FMD_INTERNET);
if (inet != null)
if (!TextUtils.isEmpty(inet))
{
mWifi.setVisibility(View.VISIBLE);
/// @todo Better (but harder) to wrap C++ osm::Internet into Java, instead of comparing with "no".