From d5345579150f32e9142349a3c63ca764b44c5b56 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Sat, 23 Dec 2023 10:03:06 -0300 Subject: [PATCH] fix(profile): throw share button back into 3-dot menu --- .../org/joinmastodon/android/fragments/ProfileFragment.java | 2 +- mastodon/src/main/res/menu/profile.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java index f2e39615f..1591781e6 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java @@ -822,7 +822,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList if(isOwnProfile){ UiUtils.enableOptionsMenuIcons(getActivity(), menu, R.id.scheduled, R.id.bookmarks, R.id.favorites); }else{ - UiUtils.enableOptionsMenuIcons(getActivity(), menu, R.id.edit_note, R.id.share); + UiUtils.enableOptionsMenuIcons(getActivity(), menu, R.id.edit_note); } boolean hasMultipleAccounts = AccountSessionManager.getInstance().getLoggedInAccounts().size() > 1; MenuItem openWithAccounts = menu.findItem(R.id.open_with_account); diff --git a/mastodon/src/main/res/menu/profile.xml b/mastodon/src/main/res/menu/profile.xml index c1df72bab..e7d46f959 100644 --- a/mastodon/src/main/res/menu/profile.xml +++ b/mastodon/src/main/res/menu/profile.xml @@ -14,7 +14,7 @@ - +