fix broken "edit avatar" overlay.. again!!
closes sk22#727 closes sk22#738
This commit is contained in:
parent
1ee5e1ab3a
commit
2a471ffa96
|
@ -1059,7 +1059,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
|
||||||
actionButton.setText(R.string.save_changes);
|
actionButton.setText(R.string.save_changes);
|
||||||
pager.setVisibility(View.GONE);
|
pager.setVisibility(View.GONE);
|
||||||
tabbar.setVisibility(View.GONE);
|
tabbar.setVisibility(View.GONE);
|
||||||
Drawable overlay=getResources().getDrawable(R.drawable.edit_avatar_overlay).mutate();
|
Drawable overlay=getResources().getDrawable(R.drawable.edit_avatar_overlay, getActivity().getTheme()).mutate();
|
||||||
avatar.setForeground(overlay);
|
avatar.setForeground(overlay);
|
||||||
updateMetadataHeight();
|
updateMetadataHeight();
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue