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

Commit 053d678e authored by Annie Chin's avatar Annie Chin
Browse files

Pin alarm list from the bottom in AlarmClockFragment.

Bug: 24192069

This way, we can set the offset from the bottom of the alarm adapter.
The offset from the bottom reveals the delete option even when
predismiss is present.

Change-Id: I89d213dc69c7f15c2910369b023f667e70ddb078
parent 548c0d18
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -142,6 +142,7 @@ public final class AlarmClockFragment extends DeskClockFragment implements

    @Override
    public void smoothScrollTo(int position) {
        mLayoutManager.setStackFromEnd(true);
        mLayoutManager.scrollToPositionWithOffset(position, 20);
    }