Fix absent edit profile name keyboard and profile icon selection for new created profiles

This commit is contained in:
Dima-1 2020-01-27 17:20:14 +02:00
parent 81fa31758c
commit 467e73ed8d

View file

@ -113,6 +113,7 @@ public class ProfileAppearanceFragment extends BaseSettingsFragment {
profile.routeService = baseModeForNewProfile.getRouteService();
profile.locationIcon = baseModeForNewProfile.getLocationIcon();
profile.navigationIcon = baseModeForNewProfile.getNavigationIcon();
onAppModeChanged(ApplicationMode.valueOfStringKey(baseModeForNewProfile.getStringKey(), null));
} else {
profile.stringKey = getSelectedAppMode().getStringKey();
profile.parent = getSelectedAppMode().getParent();