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

Commit 6448f650 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add navigation insets padding" into main

parents f7f2b61c a3cf2c4b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -117,7 +117,10 @@ constructor(
        launchTraced("VDVB#insets") {
            root
                .onApplyWindowInsets { v, newInsets ->
                    val insetsValues = newInsets.getInsets(WindowInsets.Type.displayCutout())
                    val insetsValues =
                        newInsets.getInsets(
                            WindowInsets.Type.displayCutout() or WindowInsets.Type.navigationBars()
                        )
                    v.updatePadding(
                        left = insetsValues.left,
                        top = insetsValues.top,