Crash on profile import

https://github.com/osmandapp/OsmAnd-Issues/issues/257
This commit is contained in:
androiddevkkotlin 2020-11-12 17:09:45 +02:00
parent 85aeff858c
commit 7587947bb8

View file

@ -141,7 +141,7 @@ public class ImportSettingsFragment extends BaseOsmAndFragment {
progressBar = root.findViewById(R.id.progress_bar);
setupToolbar(toolbar);
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.setText(R.string.select_data_to_import);
expandableList.addHeaderView(header);