fix(profile): take away favorites from the topbar icons list
This fixes a thing where the menu entry would just be weird
This commit is contained in:
parent
f9f863ea5e
commit
d8cc578537
|
@ -820,7 +820,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
|
|||
return;
|
||||
inflater.inflate(isOwnProfile ? R.menu.profile_own : R.menu.profile, menu);
|
||||
if(isOwnProfile){
|
||||
UiUtils.enableOptionsMenuIcons(getActivity(), menu, R.id.scheduled, R.id.bookmarks, R.id.favorites);
|
||||
UiUtils.enableOptionsMenuIcons(getActivity(), menu, R.id.scheduled, R.id.bookmarks);
|
||||
}else{
|
||||
UiUtils.enableOptionsMenuIcons(getActivity(), menu, R.id.edit_note);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue