diff --git a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserPageFragment.java b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserPageFragment.java index 73952df..5f9a5e7 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserPageFragment.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/ui/fragments/UserPageFragment.java @@ -201,12 +201,12 @@ public class UserPageFragment extends Fragment { getActivity().setTitle(userInfo.getDisplayFullName()); //Update activity menu dock - if(AccountUtils.getID(getActivity()) == userID) + //if(AccountUtils.getID(getActivity()) == userID) ((MainActivity) getActivity()).setSelectedNavigationItem( R.id.main_bottom_navigation_me_view); - else + /*else ((MainActivity) getActivity()).setSelectedNavigationItem( - R.id.main_bottom_navigation_users_view); + R.id.main_bottom_navigation_users_view);*/ //Update user name and account image user_name.setText(userInfo.getDisplayFullName()); diff --git a/app/src/main/res/menu/main_bottom_navigation.xml b/app/src/main/res/menu/main_bottom_navigation.xml index 9b94b8e..b29acce 100644 --- a/app/src/main/res/menu/main_bottom_navigation.xml +++ b/app/src/main/res/menu/main_bottom_navigation.xml @@ -6,17 +6,18 @@ android:icon="@drawable/ic_menu_allfriends" /> - + android:visible="false" />--> + android:title="@string/navigation_bottom_user_item" + android:icon="@drawable/perm_group_personal_info" + />