Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dd242429 authored by Mario Bertschler's avatar Mario Bertschler
Browse files

Fix for floatingheader snap value being higher than the max

translation if flinging quickly the all-apps recycler view.

Bug: 73151273
Change-Id: If7acbf7b48f69ea6a818a83d519049496b86ced3
parent 4250557a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -131,7 +131,7 @@ public class FloatingHeaderView extends LinearLayout implements
                mSnappedScrolledY = currentScrollY - mMaxTranslation;
            } else if (mTranslationY <= -mMaxTranslation) { // hide or stay hidden
                mHeaderCollapsed = true;
                mSnappedScrolledY = currentScrollY;
                mSnappedScrolledY = -mMaxTranslation;
            }
        }
    }