Use card in password dialog

This commit is contained in:
Juha Heinanen
2025-04-15 20:01:00 +03:00
parent c8a9704c70
commit 32c2a2229d

View File

@ -563,13 +563,14 @@ object CustomElements {
showPasswordDialog.value = false
}
) {
Surface(
Card(
modifier = Modifier
.wrapContentWidth()
.wrapContentHeight(),
color = LocalCustomColors.current.background,
shape = MaterialTheme.shapes.large,
tonalElevation = AlertDialogDefaults.TonalElevation
.fillMaxWidth()
.padding(top = 16.dp, start = 16.dp, end = 16.dp, bottom = 0.dp),
shape = RoundedCornerShape(16.dp),
colors = CardDefaults.cardColors(
containerColor = LocalCustomColors.current.cardBackground
)
) {
Column(modifier = Modifier.padding(16.dp)) {
Text(