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

Commit 9f62d13e authored by Mario Bertschler's avatar Mario Bertschler
Browse files

Preserve top/bottom padding in PredictionRowView on updating insets.

Change-Id: Iba75902df46ff51b036d2ff117d4ab1ef2e1c0f8
parent d96072e6
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -674,8 +674,9 @@ public class AllAppsContainerView extends RelativeLayout implements DragSource,
                recyclerView.setPadding(padding.left, paddingTop, padding.right, padding.bottom);
            }
            if (isHeaderVisible()) {
                mHeader.getPredictionRow()
                        .setPadding(padding.left, 0 , padding.right, 0);
                PredictionRowView prv = mHeader.getPredictionRow();
                prv.setPadding(padding.left, prv.getPaddingTop() , padding.right,
                        prv.getPaddingBottom());
            }
        }