Skip to content

Commit

Permalink
set background color for password dialog
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Hibbe <[email protected]>
  • Loading branch information
mahibi authored and sowjanyakch committed Sep 11, 2024
1 parent 14752c6 commit 5921faa
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ import androidx.compose.ui.Modifier
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.platform.LocalContext
import androidx.compose.ui.platform.LocalView
import androidx.compose.ui.res.colorResource
import androidx.compose.ui.res.painterResource
import androidx.compose.ui.res.stringResource
import androidx.compose.ui.text.style.TextAlign
Expand Down Expand Up @@ -471,6 +472,8 @@ fun ShowPasswordDialog(onDismiss: () -> Unit, conversationCreationViewModel: Con
var password by remember { mutableStateOf("") }

AlertDialog(
containerColor = colorResource(id = R.color.dialog_background),

onDismissRequest = onDismiss,
confirmButton = {
Button(onClick = {
Expand Down

0 comments on commit 5921faa

Please sign in to comment.