Merge pull request #8316 from osmandapp/Fix_profile_appearance
Fix profile appearance
This commit is contained in:
commit
4f9cfeed7b
1 changed files with 6 additions and 4 deletions
|
@ -450,12 +450,14 @@ public class ProfileAppearanceFragment extends BaseSettingsFragment {
|
|||
}
|
||||
|
||||
private void updateProfileNameAppearance() {
|
||||
if (profileName != null) {
|
||||
if (profileName.isFocusable() && profileName.isFocusableInTouchMode()) {
|
||||
int selectedColor = ContextCompat.getColor(app, changedProfile.color.getColor(isNightMode()));
|
||||
profileNameOtfb.setPrimaryColor(selectedColor);
|
||||
profileName.getBackground().mutate().setColorFilter(selectedColor, PorterDuff.Mode.SRC_ATOP);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private View createIconItemView(final int iconRes, ViewGroup rootView) {
|
||||
FrameLayout iconItemView = (FrameLayout) UiUtilities.getInflater(getContext(), isNightMode())
|
||||
|
|
Loading…
Reference in a new issue