Skip to content

Commit

Permalink
Merge pull request #4180 from nextcloud/bugfix/4175/setBackgroundColo…
Browse files Browse the repository at this point in the history
…rForPasswordDialog

set background color for password dialog
  • Loading branch information
sowjanyakch authored Sep 11, 2024
2 parents 14752c6 + 5921faa commit e7d6dfd
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 e7d6dfd

Please sign in to comment.