Use card in password dialog
This commit is contained in:
@@ -563,13 +563,14 @@ object CustomElements {
|
|||||||
showPasswordDialog.value = false
|
showPasswordDialog.value = false
|
||||||
}
|
}
|
||||||
) {
|
) {
|
||||||
Surface(
|
Card(
|
||||||
modifier = Modifier
|
modifier = Modifier
|
||||||
.wrapContentWidth()
|
.fillMaxWidth()
|
||||||
.wrapContentHeight(),
|
.padding(top = 16.dp, start = 16.dp, end = 16.dp, bottom = 0.dp),
|
||||||
color = LocalCustomColors.current.background,
|
shape = RoundedCornerShape(16.dp),
|
||||||
shape = MaterialTheme.shapes.large,
|
colors = CardDefaults.cardColors(
|
||||||
tonalElevation = AlertDialogDefaults.TonalElevation
|
containerColor = LocalCustomColors.current.cardBackground
|
||||||
|
)
|
||||||
) {
|
) {
|
||||||
Column(modifier = Modifier.padding(16.dp)) {
|
Column(modifier = Modifier.padding(16.dp)) {
|
||||||
Text(
|
Text(
|
||||||
|
|||||||
Reference in New Issue
Block a user