Fix first usage wizard

This commit is contained in:
Alexey Kulish 2016-11-24 12:05:59 +03:00
parent 6fc0ce85e7
commit 76736312db

View file

@ -311,8 +311,10 @@ public class FirstUsageWizardFragment extends Fragment implements OsmAndLocation
view.findViewById(R.id.map_downloading_action_button).setOnClickListener(new View.OnClickListener() { view.findViewById(R.id.map_downloading_action_button).setOnClickListener(new View.OnClickListener() {
@Override @Override
public void onClick(View v) { public void onClick(View v) {
if (location != null) {
showOnMap(new LatLon(location.getLatitude(), location.getLongitude()), 13); showOnMap(new LatLon(location.getLatitude(), location.getLongitude()), 13);
} }
}
}); });
view.findViewById(R.id.map_downloading_card).setVisibility(View.VISIBLE); view.findViewById(R.id.map_downloading_card).setVisibility(View.VISIBLE);
break; break;