Fix first usage wizard
This commit is contained in:
parent
6fc0ce85e7
commit
76736312db
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue