hide roles when in edit mode
This commit is contained in:
parent
7f0c4860f8
commit
6b4ce0ea69
|
@ -1076,6 +1076,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
|
|||
);
|
||||
|
||||
name.setVisibility(View.GONE);
|
||||
rolesView.setVisibility(View.GONE);
|
||||
username.setVisibility(View.GONE);
|
||||
bio.setVisibility(View.GONE);
|
||||
countersLayout.setVisibility(View.GONE);
|
||||
|
@ -1124,6 +1125,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
|
|||
nameEditWrap.setVisibility(View.GONE);
|
||||
bioEditWrap.setVisibility(View.GONE);
|
||||
name.setVisibility(View.VISIBLE);
|
||||
rolesView.setVisibility(View.VISIBLE);
|
||||
username.setVisibility(View.VISIBLE);
|
||||
bio.setVisibility(View.VISIBLE);
|
||||
countersLayout.setVisibility(View.VISIBLE);
|
||||
|
|
Loading…
Reference in New Issue