Hide the FAB while editing profile

closes #709
This commit is contained in:
Grishka 2023-10-08 22:31:27 +03:00
parent dff2217e80
commit 103aaafff1
1 changed files with 2 additions and 0 deletions

View File

@ -856,6 +856,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
aboutFragment.enterEditMode(account.source.fields); aboutFragment.enterEditMode(account.source.fields);
refreshLayout.setEnabled(false); refreshLayout.setEnabled(false);
editDirty=false; editDirty=false;
V.setVisibilityAnimated(fab, View.GONE);
} }
private void exitEditMode(){ private void exitEditMode(){
@ -898,6 +899,7 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
refreshLayout.setEnabled(true); refreshLayout.setEnabled(true);
bindHeaderView(); bindHeaderView();
V.setVisibilityAnimated(fab, View.VISIBLE);
} }
private void saveAndExitEditMode(){ private void saveAndExitEditMode(){