fix bug that arrow do not always appear

This commit is contained in:
sonora 2015-01-02 23:54:53 +01:00
parent 43efb357db
commit bccf53e28f

View file

@ -116,7 +116,7 @@ public class DashFavoritesFragment extends DashBaseFragment {
ImageView icon = (ImageView) view.findViewById(R.id.icon);
ImageView direction = (ImageView) view.findViewById(R.id.direction);
if(location != null){
if(loc != null){
direction.setVisibility(View.VISIBLE);
updateArrow(point, direction);
}