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

Commit 22e0975e authored by Chandru S's avatar Chandru S Committed by Android (Google) Code Review
Browse files

Merge "Fix issue with PIN output content not center aligned as expected." into main

parents 8419ae39 fe993f7d
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -65,7 +65,6 @@ import androidx.compose.ui.res.stringResource
import androidx.compose.ui.unit.Constraints
import androidx.compose.ui.unit.Dp
import androidx.compose.ui.unit.dp
import androidx.compose.ui.window.Dialog
import androidx.lifecycle.compose.collectAsStateWithLifecycle
import com.android.compose.PlatformOutlinedButton
import com.android.compose.animation.Easings
@@ -355,7 +354,10 @@ private class PinInputRow(
    fun Content(modifier: Modifier) {

        // Wrap PIN entry in a Box so it is visible to accessibility (even if empty).
        Box(modifier = modifier.fillMaxWidth().wrapContentHeight()) {
        Box(
            modifier = modifier.fillMaxWidth().wrapContentHeight(),
            contentAlignment = Alignment.Center,
        ) {
            Row(
                modifier
                    .heightIn(min = shapeAnimations.shapeSize)