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

Commit 749154c3 authored by shirleyqian's avatar shirleyqian
Browse files

Apply bottom padding to nav bar pill instead of the whole nav bar ambient cue.

Bug: 420540273
Test: local, https://hsv.googleplex.com/5580205300121600
Flag: com.android.systemui.enable_underlay
Change-Id: Ibd1fa54db7a3c667607f7e16f3a8d3f9e4fb1da6
parent 86201289
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -81,7 +81,7 @@ fun AmbientCueContainer(
                    visible = visible,
                    expanded = expanded,
                    onShouldInterceptTouches = onShouldInterceptTouches,
                    modifier = Modifier.align(Alignment.BottomCenter).padding(bottom = 4.dp),
                    modifier = Modifier.align(Alignment.BottomCenter),
                )
            }
            is PillStyleViewModel.ShortPillStyle -> {
@@ -207,7 +207,7 @@ private fun NavBarAmbientCue(
        navBarWidth = navBarWidth,
        visible = visible,
        expanded = expanded,
        modifier = modifier,
        modifier = modifier.padding(bottom = 4.dp),
        onClick = { viewModel.expand() },
        onCloseClick = { viewModel.hide() },
    )