Making it so the fab doesnt reappear when the notes is in edit mode

This commit is contained in:
LucasGGamerM
2023-01-19 20:19:33 -03:00
parent 394a3eebb1
commit 870ac2b946
2 changed files with 6 additions and 2 deletions

View File

@@ -286,7 +286,7 @@ public abstract class BaseStatusListFragment<T extends DisplayItemsParent> exten
currentPhotoViewer.offsetView(-dx, -dy);
if (fab!=null) {
if (dy > 0 ) {
if (dy >= 0 ) {
if (isScrollingUp) {
fab.setVisibility(View.INVISIBLE);
TranslateAnimation animate = new TranslateAnimation(

View File

@@ -385,7 +385,11 @@ public class ProfileFragment extends LoaderFragment implements OnBackPressedList
if(mediaFragment.loaded)
mediaFragment.onRefresh();
}
V.setVisibilityAnimated(fab, View.VISIBLE);
// if(noteEdit.hasFocus()){
// V.setVisibilityAnimated(fab, View.GONE);
// }else{
// V.setVisibilityAnimated(fab, View.VISIBLE);
// }
}
})
.exec(accountID);