fix: use enableAutoFabHide instead of autoFabHide

This commit is contained in:
LucasGGamerM 2023-04-27 15:35:53 -03:00
parent 23b2603a5f
commit df1df28e23
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ public abstract class BaseStatusListFragment<T extends DisplayItemsParent> exten
currentPhotoViewer.offsetView(-dx, -dy); currentPhotoViewer.offsetView(-dx, -dy);
View fab = getFab(); View fab = getFab();
if (fab!=null && GlobalUserPreferences.autoHideFab) { if (fab!=null && GlobalUserPreferences.enableFabAutoHide) {
if (dy > 0 && fab.getVisibility() == View.VISIBLE) { if (dy > 0 && fab.getVisibility() == View.VISIBLE) {
animateFab(false); animateFab(false);
} else if (dy < 0 && fab.getVisibility() != View.VISIBLE) { } else if (dy < 0 && fab.getVisibility() != View.VISIBLE) {