Merge pull request #8467 from osmandapp/prefs_fixes
Fix custom parent UI update
This commit is contained in:
commit
2611588294
1 changed files with 2 additions and 5 deletions
|
@ -634,11 +634,8 @@ public class ProfileAppearanceFragment extends BaseSettingsFragment {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setupBaseProfileView(String stringKey) {
|
private void setupBaseProfileView(String stringKey) {
|
||||||
for (ApplicationMode am : ApplicationMode.getDefaultValues()) {
|
ApplicationMode mode = ApplicationMode.valueOfStringKey(stringKey, ApplicationMode.DEFAULT);
|
||||||
if (am.getStringKey().equals(stringKey)) {
|
baseProfileName.setText(Algorithms.capitalizeFirstLetter(mode.toHumanString()));
|
||||||
baseProfileName.setText(Algorithms.capitalizeFirstLetter(am.toHumanString()));
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private boolean saveProfile() {
|
private boolean saveProfile() {
|
||||||
|
|
Loading…
Reference in a new issue