Type_for_not_selected_profile

This commit is contained in:
sergosm 2020-09-16 10:55:15 +03:00
parent 85e4f7b225
commit 137faffe3b

View file

@ -735,7 +735,7 @@ public class MapActivityActions implements DialogProvider {
for (final ApplicationMode appMode : activeModes) {
if (appMode.isCustomProfile()) {
modeDescription = String.format(app.getString(R.string.profile_type_descr_string),
Algorithms.capitalizeFirstLetterAndLowercase(appMode.getParent().toHumanString()));
Algorithms.capitalizeFirstLetterAndLowercase(appMode.getRoutingProfile()));
} else {
modeDescription = getString(R.string.profile_type_base_string);
}