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

Commit ba3d3a34 authored by Ale Nijamkin's avatar Ale Nijamkin Committed by Android (Google) Code Review
Browse files

Merge "[flexiglass] Fix incorrect error message positioning bug." into main

parents fab0cbf9 8caf9f67
Loading
Loading
Loading
Loading
+11 −6
Original line number Diff line number Diff line
@@ -557,7 +557,11 @@ private fun StatusMessage(
        targetState = message,
        label = "Bouncer message",
        animationSpec = if (message.isUpdateAnimated) tween() else snap(),
        modifier = modifier,
        modifier = modifier.fillMaxWidth(),
    ) {
        Box(
            contentAlignment = Alignment.Center,
            modifier = Modifier.fillMaxWidth(),
        ) {
            Text(
                text = it.text,
@@ -566,6 +570,7 @@ private fun StatusMessage(
            )
        }
    }
}

/**
 * Renders the user output area, where the user sees what they entered.