Rename Description to Label to prevent misunderstandings

This commit is contained in:
misaochan 2017-12-31 02:34:36 +10:00 committed by maskara
parent 27ac8ae0d7
commit 353be8cd67
3 changed files with 5 additions and 2 deletions

View file

@ -377,9 +377,9 @@ public class NearbyMapFragment extends android.support.v4.app.Fragment {
commonsButton.setOnClickListener(view -> openWebView(place.siteLinks.getCommonsLink()));
icon.setImageResource(place.getLabel().getIcon());
description.setText(place.getLabel().getText());
title.setText(place.name);
distance.setText(place.distance);
description.setText(place.getLongDescription());
title.setText(place.name.toString());
distance.setText(place.distance.toString());

View file

@ -13,7 +13,6 @@ import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;
import com.mapbox.mapboxsdk.geometry.LatLng;
import com.pedrogomez.renderers.Renderer;
import java.util.ArrayList;