Fix first usage wizard
This commit is contained in:
parent
6fc0ce85e7
commit
76736312db
1 changed files with 3 additions and 1 deletions
|
@ -311,7 +311,9 @@ public class FirstUsageWizardFragment extends Fragment implements OsmAndLocation
|
|||
view.findViewById(R.id.map_downloading_action_button).setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
showOnMap(new LatLon(location.getLatitude(), location.getLongitude()), 13);
|
||||
if (location != null) {
|
||||
showOnMap(new LatLon(location.getLatitude(), location.getLongitude()), 13);
|
||||
}
|
||||
}
|
||||
});
|
||||
view.findViewById(R.id.map_downloading_card).setVisibility(View.VISIBLE);
|
||||
|
|
Loading…
Reference in a new issue