Merge pull request #10169 from osmandapp/fix-crash-profile-import
Crash on profile import
This commit is contained in:
commit
cdf6f1df73
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ public class ImportSettingsFragment extends BaseOsmAndFragment {
|
||||||
progressBar = root.findViewById(R.id.progress_bar);
|
progressBar = root.findViewById(R.id.progress_bar);
|
||||||
setupToolbar(toolbar);
|
setupToolbar(toolbar);
|
||||||
ViewCompat.setNestedScrollingEnabled(expandableList, true);
|
ViewCompat.setNestedScrollingEnabled(expandableList, true);
|
||||||
View header = inflater.inflate(R.layout.list_item_description_header, container, false);
|
View header = inflater.inflate(R.layout.list_item_description_header, null);
|
||||||
description = header.findViewById(R.id.description);
|
description = header.findViewById(R.id.description);
|
||||||
description.setText(R.string.select_data_to_import);
|
description.setText(R.string.select_data_to_import);
|
||||||
expandableList.addHeaderView(header);
|
expandableList.addHeaderView(header);
|
||||||
|
|
Loading…
Reference in a new issue