Merge pull request #8447 from osmandapp/FixImportRouting
Fix "Double navigation profiles list after import" bug
This commit is contained in:
commit
b99cc70fa8
1 changed files with 1 additions and 0 deletions
|
@ -235,6 +235,7 @@ public class SelectProfileBottomSheetDialogFragment extends MenuBottomSheetDialo
|
|||
}
|
||||
|
||||
private void refreshProfiles(OsmandApplication app) {
|
||||
profiles.clear();
|
||||
if (type.equals(TYPE_NAV_PROFILE)) {
|
||||
profiles.addAll(NavigationFragment.getSortedRoutingProfiles(app));
|
||||
} else if (type.equals(TYPE_BASE_APP_PROFILE)) {
|
||||
|
|
Loading…
Reference in a new issue