From 5921faa8a82a5862aa64d976dcf7ed71f6511810 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Tue, 10 Sep 2024 11:20:36 +0200 Subject: [PATCH] set background color for password dialog Signed-off-by: Marcel Hibbe --- .../talk/conversationcreation/ConversationCreationActivity.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/java/com/nextcloud/talk/conversationcreation/ConversationCreationActivity.kt b/app/src/main/java/com/nextcloud/talk/conversationcreation/ConversationCreationActivity.kt index 51297510a..021f6e9cf 100644 --- a/app/src/main/java/com/nextcloud/talk/conversationcreation/ConversationCreationActivity.kt +++ b/app/src/main/java/com/nextcloud/talk/conversationcreation/ConversationCreationActivity.kt @@ -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 @@ -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 = {