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