From 103aaafff1c541f50eadf6db2ef829e5720e40a4 Mon Sep 17 00:00:00 2001 From: Grishka Date: Sun, 8 Oct 2023 22:31:27 +0300 Subject: [PATCH] Hide the FAB while editing profile closes #709 --- .../org/joinmastodon/android/fragments/ProfileFragment.java | 2 ++ 1 file changed, 2 insertions(+) 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 e2aea59c8..54496ca56 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/ProfileFragment.java @@ -856,6 +856,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList aboutFragment.enterEditMode(account.source.fields); refreshLayout.setEnabled(false); editDirty=false; + V.setVisibilityAnimated(fab, View.GONE); } private void exitEditMode(){ @@ -898,6 +899,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList refreshLayout.setEnabled(true); bindHeaderView(); + V.setVisibilityAnimated(fab, View.VISIBLE); } private void saveAndExitEditMode(){