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

Commit c839676f authored by Alina Zaidi's avatar Alina Zaidi
Browse files

Hide scroll bar if recycler view has no items.

Bug: 185873180
Test: Manually tested
Change-Id: Id0b21b264417aff19cfdcb46228bb497310ccc1b
parent 120d6476
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -116,6 +116,7 @@ public class WidgetsRecyclerView extends BaseRecyclerView implements OnItemTouch
    public void onUpdateScrollbar(int dy) {
        // Skip early if widgets are not bound.
        if (isModelNotReady()) {
            mScrollbar.setThumbOffsetY(-1);
            return;
        }