Fix npe
This commit is contained in:
parent
0c94c0ae8d
commit
399e34a7d3
1 changed files with 3 additions and 0 deletions
|
@ -474,6 +474,9 @@ public class FirstUsageWizardFragment extends BaseOsmAndFragment implements OsmA
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateDownloadedItem() {
|
private void updateDownloadedItem() {
|
||||||
|
if (mapIndexItem == null) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
final View firstRowLayout = view.findViewById(R.id.map_downloading_layout);
|
final View firstRowLayout = view.findViewById(R.id.map_downloading_layout);
|
||||||
final View progressLayout = view.findViewById(R.id.map_download_progress_layout);
|
final View progressLayout = view.findViewById(R.id.map_download_progress_layout);
|
||||||
final ImageButton redownloadButton = (ImageButton) view.findViewById(R.id.map_redownload_button);
|
final ImageButton redownloadButton = (ImageButton) view.findViewById(R.id.map_redownload_button);
|
||||||
|
|
Loading…
Reference in a new issue